Data is, perhaps, the most essential part of programming. All Data in Java has a data type. Consequentially, all variables also have data types. Java, being a statically typed language, requires that variables must always be declared. The declaration of a variable is the way to notify the compiler and the JVM about
In Java, data types are classified as
- the types of values that can be stored,
- the range of values that can be stored, and
- the capabilities provided by the variable.
- Primitive Data Types
- Reference Data Types
No comments:
Post a Comment