Data Types in java
Data types are a fundamental concept in programming, including Java. Data types define the type of data that can be stored in a variable, and the operations that can be performed on that data. In this blog post, we will take a closer look at the data types available in Java.
In the below PDF we discuss about Data types in detail in simple language, Hope this will help in better understanding.
Two types of Data Types :
Java has two categories in which data types are segregated:
• Primitive Data Type : such as boolean, char, int, short, byte, long, float, and double
• Non-Primitive Data Type or Object Data type : such as String, Array, etc.
Related Question
Data types define the type of data that can be stored in a variable, and the operations that can be performed on that data.
Relevant
Introduction To Java Java is
Java JDK, JRE, JVM Java