Which of the following statements is false?
A) A primitive-type variable can store exactly one value of its declared type at a time.
B) Primitive-type instance variables are initialized by default.
C) Variables of types byte, char, short, int, long, float and double are initialized to 0.
D) Variables of type boolean are initialized to true.
Correct Answer:
Verified
Q21: Which of the following statements is true?
A)
Q22: Which of the following statements is false?
A)
Q23: A _ of a class called MyClass
Q24: The format specifier %.2f specifies that two
Q25: The format specifier _ is used to
Q27: Which of the following statements is false?
A)
Q28: Floating-point literals are of type _ by
Q29: Reference-type variables (called references) store _ in
Q30: Which of the following statements is false?
A)
Q31: If a class does not
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents