Java is a high-level programming language originally developed by Sun Microsystem and released in 1995.Java is an Object-Oriented Programming(OOP) structure. Java is a 0 index based language. To be exact, java is a case-sensitive language.
Primitive Data Type = build-in data types that are predefined.
//byte =1 [range from -128 to 127]
//int =4 [1,2,3]
//float =4 [1.2,1.6,5.9]
Boolean has two two possible values either true or false.
Non-Primitive Data Type = Data types that are not pre-defined and are created by programmers.