CSIS 212 Week 7 Quiz (20 out of 20)
CSIS 212-B01 LUO
1. Which statement is false?
2. Which method returns an array of the enum’s constants?
3. When must a program explicitly use the this reference?
4. Which of the following is false?
5. When implementing a method, use the class’s set and get methods to access the class’s ________ data.
6. Big Decimal gives you control over how values are rounded. By default:
7. Which of the following is false?
8. What happens when this is used in a constructor’s body to call another constructor of the same class if that call is not the first statement in the constructor?
9. Using public set methods helps provide data integrity if:
10. Which of the following statements is false?
11. When no access modifier is specified for a method or variable, the method or variable:
12. A constructor cannot:
13. Composition is sometimes referred to as a(n) ________.
14. A final field should also be declared ________ if it is initialized in its declaration.
15. Which of the following statements is false?
16. Which of the following statements is true?
17. A programmer-defined constructor that has no arguments is called a(n) ________.
18. Constructors:
19. Which of the following class members should usually be private?
20. Instance variables declared final do not or cannot:
Institution & Term/Date | |
Term/Date | Liberty University |
-
$9.99