Dev Tech Blog
Blog about Java, Spring Boot, Hibernate, CSS, HTML, Interview questions and Programming
Labels
Angular
Annotation
CSS
ENUM
Exception
file
graphql
health check
HTML
interview questions
j2ee
java
Java Memory
JDBC
jdk
JPA
jre
jsp
jvm
lambda
Machine Learning
ML
monitoring
Multithreading
oops
Python
Security
server
Servlet
Singleton
Spring
Spring boot
String
Thread
tomcat
volatile
Tuesday, September 6, 2011
Default Values of primitive data type in java
Variable Type Default Value
Object reference :null (not referencing any object)
byte, short, int, long : 0
float, double : 0.0
boolean : false
char : '\u0000'
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)