Solved

Which of the Following Statements Regarding the Default Initial Value

Question 8

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents