Vidyalelo
Java Programming · Q36

Data Types and Variables

Programming · Java Programming · question 36

Q36

Size of float and double in Java is

A.
32 and 64
Answer
B.
64 and 64
C.
32 and 32
D.
64 and 32

Answer: Option A

Solution

Answer: Option A
Solution:
The size of float in Java is 32 bits, and the size of double in Java is 64 bits.