Computer Science, asked by paul79, 11 months ago

what numeric data types are available in Java?​

Answers

Answered by 200t
1

Answer:

 \huge \mathfrak \color{green}{6 \: types}

Explanation:

There are six numeric types four integer and two floating point:

  • byte 1 byte -128 to 127.
  • short 2 bytes -32,768 to 32,767.
  • int 4 bytes -2,147,483,648 to 2,147,483,647.
  • long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,80.
  • float 4 bytes 7 decimal digits.
  • double 8 bytes 16 decimal digits.

<marquee scrollamount="2">

 \huge \mathfrak \color{red}{Hope \: it \: helps}

</marquee >

<marquee scrollamount="1">

 \huge \mathfrak \color{yellow}{Follow me}

Answered by guriya880
1

Answer:

There are six numeric types four integer and two floating point:

  1. byte 1 byte -128 to 127.
  2. short 2 bytes -32,768 to 32,767.
  3. int 4 bytes -2,147,483,648 to 2,147,483,647.
  4. long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,80.
  5. float 4 bytes 7 decimal digits.
  6. double 8 bytes 16 decimal digits.

Hope it helps...

Similar questions