Which are the default value for the Primitives and Reference Types ?
-
Object reference =null
-
double =0.0
-
byte=0
-
char = '\u0000'
A,B,C,D
Correct answer
Explanation
Java has defined default values for uninitialized fields: Object references default to null, numeric primitives to 0 or 0.0, boolean to false, and char to '\u0000' (null character). All four options correctly state these default values for their respective types.