What is the difference between data types and literals in Java?
Data Type : it defines the memory assignment for different "types" available in java.
source http://javawebtutorial.blogspot.in/2013/10/data-types-in-java-as-you-all-know-that.html
Literals : Literals in java define the actual value we can using for variables, constants or to perform any operation.
source : http://javawebtutorial.blogspot.in/2013/10/literals-in-java-literals-in-java.html