subject

Normally, you declare constructors to be so that other classes can instantiate objects that belong to the class.
a. shared
b. protected
c. public
d. private
any method or constructor in a class can be overloaded, and you can provide as many versions as you want as long as each version has a unique
a. numeric variable
b. signature
c. instance variable
d. name
most often, an instance of a class is destroyed when the object goes
a. in the trash can
b. in the recycle bin
c. out of bounds
d. out of scope
which of the following is not true about destructors?
a. a destructor has no return type.
b. destructors can be overloaded.
c. destructors are invoked automatically.
d. a class can have one destructor at most.
is the technique of placing an object within an object of another class.
a. overloading
b. polymorphism
c. composition
d. binding
which of the following is not a benefit of using inheritance?
a. you make it more complicated for anyone to understand the new class.
b. you reduce the chance for errors and inconsistencies in shared fields.
c. you reduce the chance of errors because the inherited methods have already been used and tested.
d. you save time because you do not need to re-create inherited fields and methods.
a class that is used as a basis for inheritance is called a base class or
a. child class
b. derived class
c. superclass
d. subclass
when you create a class that inherits from a base class, it is a or extended class.
a. superclass
b. derived class
c. parent class
d. base class
what is another name for a subclass?
a. superclass
b. base class
c. parent class
d. child class
the of a derived class are the entire list of parent classes from which the class is derived.
a. hierarchy
b. ancestors
c. predecessors
d. relatives
a(n) class is one from which you cannot instantiate concrete objects, but from which you can inherit.
a. super
b. ancestor
c. abstract
d. extended
is the mechanism by which a child class method is used by default when a parent class contains a method with the same signature.
a. overriding
b. polymorphism
c. composition
d. inheritance
subclass creators save testing time because the superclass code has already been tested and probably used in a variety of situations. in other words, the superclass code is
a. reliable
b. fragile
c. finished
d. complete
programming languages that supply existing gui classes often provide a development environment in which you can create programs.
a. visual
b. command
c. rapid
d. test
object-oriented programs employ a group of techniques for handling errors called handling.
a. mistake
b. error
c. data
d. exception
when you try a block of code, you attempt to use it, and if an error occurs, it is
a. caught
b. thrown
c. trapped
d. blocked
when you create a segment of code in which something might go wrong, you place the code in a(n) block, which is a block of code you attempt to execute while acknowledging that an error might occur.
a. stop
b. catch
c. error
d. try
when you use programming techniques, you save development time because each object automatically includes appropriate, reliable methods, and attributes.
a. procedural
b. object-oriented
c. package
d. ide

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
language consists of basic components, and they are called a. 3; mental images, concepts, and speech b. 2; language acquisition and linguistic relativity c. 3; heuristics, algorithms, and analogies d. 4; phonemes, morphemes, syntax, and semantics e. 2; words and grammar
Answers: 3
You know the right answer?
Normally, you declare constructors to be so that other classes can instantiate objects that belong...
Questions
question
Mathematics, 21.06.2019 22:40
question
Mathematics, 21.06.2019 22:40
question
Mathematics, 21.06.2019 22:40
question
Social Studies, 21.06.2019 22:40
Questions on the website: 13722362