CSIS 212 WEEK 7 QUIZ – QUESTION AND ANSWERS
Which statement is false? Which method returns an array of the enum’s constants? When must a program explicitly use this reference? Which of the following is false? When implementing a method, use the class’s set and get methods to access the class’s __ data. Big Decimal gives you control over how values are rounded. By default: Which of the following is false? 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? Using public set methods helps provide data integrity if: Which of the following statements is false? When no access modifier is specified for a method or variable, the method or variable: A constructor cannot: Composition is sometimes referred to as a(n) __. A final field should also be declared __ if it is initialized in its declaration. Which of the following statements is false? Which of the following statements is true? A programmer-defined constructor that has no arguments is called a(n) __. Constructors: Which of the following class members should usually be private? Instance variables declared final do not or cannot:
Written for
Document information
- Uploaded on
- September 12, 2021
- Number of pages
- 5
- Written in
- 2021/2022
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- use the
-
which statement is false which method returns an array of the enum’s constants when must a program explicitly use this reference which of the following is false when implementing a method