top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the default values of Primitive Types in Java ?

+1 vote
506 views
What are the default values of Primitive Types in Java ?
posted Dec 29, 2014 by Shyam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

byte 0
short 0
int 0
long 0L
float 0.0f
double 0.0d
char '\u0000'
boolean false

answer Dec 29, 2014 by Prakash
...