Data Types Supported Java Write Description Data Type Q37205319

what are the data types supported in java and write adescription for each data type.


Answer


boolean -> to represent a true or false valuechar -> to represent a single letter such as ‘a’, ‘b’byte -> to represent a single byte between -128 to 127short -> to represent a whole number from range -32768 to 32767int -> to represent a whole number from range -2,147,483,648 to 2,147,483,647long -> to represent very very large whole numbers from range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807float ->

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.