Reading about Java's default initialization of class fields, I have gotten confused as to how the default values offer advantage over the garbage values of variables like in C.
For integers, an initial integer value of -1933438 or 0 would both render wrong calculations.Same is the case with characters and floats.
And, in case of pointers, there are none in Java and NULL reference leads to Runtime exception. So, references are safer.
So, how are the default values better?