CSIS 212 Quiz 2 - Question and Answers
CSIS 212 Quiz 2 - Question and Answers • Question 1 1 out of 1 points You can declare new classes as needed; this is one reason Java is known as a(n) ________ language. Selected Answer: extensible • Question 2 1 out of 1 points The format specifier %.2f specifies that two digits of precision should be output ________ in the floating-point number. Selected Answer: to the right of the decimal point • Question 3 1 out of 1 points A class that creates an object of another class, then calls the object’s methods, is called a(n) ________ class. Selected Answer: driver. • Question 4 1 out of 1 points Which of the following statements is false? Selected Answer: Variables of type boolean are initialized to true. • Question 5 1 out of 1 points Which of the following statements is false? Selected Answer: Classes in the same package are implicitly imported into main. • Question 6 1 out of 1 points Which of the following statements is true? Selected Answer: Variables or methods declared with access modifier private are accessible only to methods of the class in which they’re declared. • Question 7 1 out of 1 points Which of the following statements is false?
Written for
- Institution
-
Liberty University
- Course
-
CSIS 212
Document information
- Uploaded on
- March 5, 2024
- Number of pages
- 4
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
csis 212 quiz 2 question and answers question