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

what is 67912 to the nearest 10
When you make a cell phone call, which type of electromagnetic wave is most likely transmitting the signal?
Write an equation that could be used to find the value of b.
You notice a food handler trim excess fat from a T-bone steak and then move toward a bowl of potatoes to begin peeling them with the same knife. What action sho
¿Quién lee el libro? ______ lee el libro. ni nada nadie
The higher the percentage of the active ingredient in a drug
Arby's age is 6 years less than 7 times Anna's age. If Anna's age is x years, which expression best shows Arby's age? x 7x − 6 x − 1 6x − 7
Can someone help me!!!!!!
The license fee for a car which cost $8,300 is $64. At the same rate, what is the license fee for a car that costs $8,500? Round your answer to the nearest ce
How would you describe Martial Law?