Posts

   Data Types In Java. Data types specify the different sizes and values that can be stored in the variable. There are two types of data types in Java: Primitive data types:  The primitive data types include boolean, char, byte, short, int, long, float and double. Non-primitive data types:  The non-primitive data types include  Classes ,  Interfaces , and  Arrays Java Primitive Data Types In Java language, primitive data types are the building blocks of data manipulation. These are the most basic data types available in  Java language There are 8 types of primitive data types: boolean data type byte data type char data type short data type int data type long data type float data type double data type Boolean Data Type The Boolean data type is used to store only two possible values: true and false. This data type is used for simple flags that track true/false conditions. The Boolean data type specifies one bit of information, but its "size" can't b...
Recent posts