Examveda
Examveda

Size of float and double in Java is

A. 32 and 64

B. 64 and 64

C. 32 and 32

D. 64 and 32

Answer: Option A

Solution(By Examveda Team)

The size of float in Java is 32 bits, and the size of double in Java is 64 bits.

This Question Belongs to Java Program >> Data Types And Variables

Join The Discussion

Comments ( 2 )

  1. Aravind M
    Aravind M :
    3 years ago

    Size of float is 4 bytes i .e = 32 bits and size of double is 8 bytes i. e = 64 bits.

  2. Ganesh Rupnawar
    Ganesh Rupnawar :
    5 years ago

    plz clear doubt how this answer is correct .

Related Questions on Data Types and Variables