In Java, what would a variable of type int hold if it was not initialized (I know that it will not let me compile if I used x directly before initi
int
x
Instance variables will be defaulted to a 'reasonable' value. Local variables will contain garbage.
Read up on the topic here.