Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
What are the default values of Primitive Types in Java ?
+1
vote
506
views
What are the default values of Primitive Types in Java ?
java
posted
Dec 29, 2014
by
Shyam
Share this question
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
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
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
+4
votes
Why does Java strictly specify the range and behavior of its primitive types?
0
votes
What are the different types of validations in JSF (Java Server Faces)?
0
votes
What are the different types of Page Navigation supported in JSF(Java Server Faces)?
+3
votes
What is EJB in Java? What are the different types of EJB?
0
votes
What are the different types of JSF (Java Server Faces) events?
...