True / False
1. In object-oriented terminology, “default constructor” means a constructor with a single standard parameter.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 465
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
2. In OOP languages, a default constructor is created automatically by the compiler for every class you write.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 465
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
3. Any constructor you write must have the same name as the class it constructs, and it cannot have a return type.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 465
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
4. You can create constructors for a class with or without parameters.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 465
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
5. You cannot provide parameters to a destructor; it must have an empty parameter list.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 472
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
6. It makes sense that a parent class object has access to its child’s data and methods.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 480
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
7. An abstract class is one from which you can create any concrete objects and from which you can inherit.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 485
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
8. By using standard component classes, programmers are assured that the GUI components in their programs have the same look and feel as those in other programs.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 488
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
9. The built-in Exceptions in a programming language can cover every condition that might be an Exception in your applications.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 493
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
10. When using existing objects, you need to concentrate only on the interface to those objects, not on the internal instructions that make them work.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 494
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 9/12/2016 12:44 PM
DATE MODIFIED: 9/12/2016 12:44 PM
Reviews
There are no reviews yet.