Coding Fun Java Java data types questions and answers

Java data types questions and answers

java data type questions and answers.
here are two data types available in Java −

Primitive Data Types
Reference/Object Data Types
Primitive Data Types
There are eight primitive datatypes supported by Java. Primitive datatypes are predefined by the language and named by a keyword. Let us now look into the eight primitive data types in detail.

Byte data type is an 8-bit signed two’s complement integer

Minimum value is -128 (-2^7)

Maximum value is 127 (inclusive)(2^7 -1)


Tags: , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *