Solved

Which of the Following Statements Regarding the Default Initial Value

Question 22

Multiple Choice

Which of the following statements regarding the default initial value of instance variables byte and boolean is correct?


A) The instance variable byte is treated like the variable float, whereas boolean is given the same value as double.
B) Like byte, boolean is given the value of null.
C) Numeric variables such as boolean are given the value of 0 and byte variables are given the value false.
D) Numeric variables such as byte are given the value of 0 and boolean variables are given the value false.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions