Back
The default values of different datatypes in Java are:
boolean- false
char- ‘\u0000’
byte- 0
short- 0
int- 0
long- 0L
float- 0.0f
double- 0.0d
31k questions
32.8k answers
501 comments
693 users