CSIS 212 Week 2 Quiz

  • CSIS 212 Week 2 Quiz

CSIS 212 Quiz 2 B01 LUO

1. You can declare new classes as needed; this is one reason Java is known as a(n) ________ language.

2. The format specifier %.2f specifies that two digits of precision should be output ________ in the floating-point number.

3. A class that creates an object of another class, then calls the object’s methods, is called a(n) ________ class.

4. Which of the following statements is false?

5. Which of the following statements is false?

6. Which of the following statements is true?

7. Which of the following statements is false?

8. Each class you create becomes a new ________ that can be used to declare variables and create objects.

9. Which of the following statements is false?

10. Types in Java are divided into two categories. The primitive types are boolean, byte, char, short, int, long, float and double. All other types are ________ types.

11. Which of the following statements is false?

12. Which of the following statements is false?

13. Java requires a ________ call for every object that’s created.

14. An import declaration is not required if you always refer to a class with its ________ name, which includes its package name and class name.

15. A __________ of a class called MyClass is another class whose methods call the methods of MyClass.

16. You must call most methods other than ________ explicitly to tell them to perform their tasks.

17. Reference-type variables (called references) store ________ in memory.

18. Declaring instance variables ________ is known as data hiding or information hiding.

19. Which of the following statements is false?

20. A key part of enabling the JVM to locate and call method main to begin the app’s execution is the ________ keyword, which indicates that main can be called without first creating an object of the class in which the method is declared.

 

Institution & Term/Date
Term/Date Liberty University
  • $9.99


Related Products

BIBL 104  Week 8 Quiz with Answers
BIBL 104 Week 7 Quiz with Answers
CSIS 212 Final Exam

CSIS 212 Final Exam

...

$25.00

CSIS 212 Midterm Exam
CSIS 212 Week 3 Quiz
CSIS 212 Week 6 Quiz
CSIS 212 Week 7 Quiz (20 out of 20)

Tags: