Java Primitive Data Type Part -2

Floating Data type
a. Float (Size – 4 bytes)
* Upto 6 decimal place

b. Double (Size – 8 bytes)
* Upto 14 to 15 decimal place

Boolean
* Size is not application
* Range is not application [ Allowed True/False]

char
* 2 bytes (UNICODE BASED)
* Size is char in c/c++ is 1 byte (8 bites) , 2^8 = 256 [ASCII]

Watch here:

Please give your feedback at online.nimit@gmail.com

Leave a Reply

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