Multiple choice java

Which are the default value for the Primitives and Reference Types ?

  1. Object reference =null

  2. double =0.0

  3. byte=0

  4. char = '\u0000'

Reveal answer Fill a bubble to check yourself
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.