Answer :

double, long, float, short, byte

Explanation:

The given data types are built-in types. According to java, the following holds right to justify the order.

Double:

  • This occupies 64 bits
  • It can hold decimal values
  • Example: "1.23456e300d, -1.23456e-300d, 1e1d"

Float:

  • It occupies 32 bits
  • Holds decimal values
  • Example: "1.23e100f, -1.23e-100f, .3f, 3.14F"

Long:

  • It occupies 64 bits
  • Example: "-2L, -1L, 0L, 1L, 2L"

Short:

  • It occupies 16 bits
  • Stores twos complement integer

Byte:

  • It occupies 8 bits
  • Stores twos complement integer

Other Questions