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 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
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, 10.02.2021 06:10
question
Mathematics, 10.02.2021 06:10
question
Mathematics, 10.02.2021 06:10
question
Mathematics, 10.02.2021 06:10
question
Mathematics, 10.02.2021 06:10
Questions on the website: 13722367