What are the default value of the primitive data types int and float?
Answers
Answered by
5
Data Type Default Value (for fields)
int 0
long 0L
float 0.0f
double 0.0d
Answered by
1
Default Values
Data Type Default Value (for fields)
int 0
long 0L
float 0.0f
double 0.0d
Similar questions