Basic Data Types in Java
Definition of Basic Data Types in Java: Datatype (data-types) is the name of storage format which store the specific type's and its corresponding range's value. Different data types have been defined by java. These data types are frequently used by programmers. Data types in java are used to specify whether which type of value will be stored in specified variable. A variable is responsible for storing the particular value. But a variable does not store value itself. Variable is just a name for a memory location where a value is to be stored.Java has been defined different types of basic data types. We categorize them broadly into 2 category. There are defined two types of data types in java- Primitive Data Types Non-Primitive/Reference Data Types Primitive Data Types: Primitive means ancient. As its meaning states Primitive Data Types are defined already in the Java API. Programmers can use th...