Q: What is the size of a LONG integer in Java?
Solution: Range: -9223372036854775808 and 9223372036854775807.
Q: What is the size of an INT integer in Java?
Solution: Number range is -2147483648 and 2147483647.
Q: What is the size of a FLOAT floating point number in Java?
Solution: Number range is ±3.40282347E+38F
Q: What is the size of a DOUBLE floating point number in Java?
Solution: Number range is ±1.79769313486231570E+308.
Q: What is the size of a CHAR data type constant in Java?
Solution: no solution
Q: What is the size of a boolean data type constant in Java?
Solution: A boolean value can hold only one bit of information. But the size of a boolean constant in memory is not defined clearly anywhere. It is machine dependent. It may be 4 bytes or so.
Q: What is the IEEE standard adopted to represent Floating point numbers in Java?
Solution: IEEE stands for Institute of Electrical and Electronics Engineers. Original specifications were defined in the year 1985. The current version includes improvements or corrections done in the year 2008.
Q: What is the character encoding standard used in Java language?
Solution: Unicode takes 2 Bytes of memory to represent all characters of all languages.
Q: What is the abbreviation of ASCII?
Solution: ASCII can represent only the English Alphabets and a few special symbols.
Q: Choose the right statement about Java Data types.
Solution: no solution
You Have Score    | /10 |