kelseiroll3103 kelseiroll3103
  • 21-06-2021
  • Computers and Technology
contestada

There are eight primitive data types in Java. If the the size of 4 different datatype sizes are as follows then what is maximum value they can store? Show using the chart as in our example.

Respuesta :

buchinnamani208
buchinnamani208 buchinnamani208
  • 23-06-2021

Answer and Explanation:

The eight primitive data types in Java include:

byte , short , int , long , float , double , boolean and char.

By size of datatype we mean the amount of memory the data type occupies. For a 32-bit processor/CPU,

The size of int data type(with whole numbers from -2,147,483,648 to 2,147,483,647) in Java is 4 bytes

The size of byte data type is 1 byte

The size of short data type is 2 bytes

The size of long data type is 8 bytes

Answer Link

Otras preguntas

Why is the ending of "Charles" ironic? A. The narrator and readers are surprised when they find out that Laurie is resposible for all of the bad things he said
what is (-8 + (-10 + 7 x (-1))) x (-1)?
what is 7 divided by _14 over 5
What's personification??
what did panama become one finished
Which of the following is true about subatomic particles? Electrons are negatively charged and are the heaviest subatomic particle. Protons are positively cha
expand 5x(2x-5) im new plz answer dis XD
Neurons that detect light stimuli are _____. A) photoreceptors B) olfactory receptors C) chemoreceptors D) mechanoreceptors
What can managers do to reduce stressors that lead to employee burnout?
A manufacturer of mountain bikes has found that when 20 bikes are produced per day, the average cost is $200 and the marginal cost is $150. Based on the informa