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

Find your mass if a scale on earth reads 650 N when you stand on it.
In the late 1800s, the growth of the railroad led to Midwestern cities like Minneapolis and Cleveland becoming
When were the rules for colonizing Africa established
Find the slope of 2y = 7x + 3
Patricia is separating 16 soccer cards and 22 baseball cards into groups.Each group will have the same number of cards ,and each group will have only one kind o
All the years from AD 1400 to AD 1499 make up the fifteenth century AD answer. True or false.
19,050,000 in scientific notation
Why did Puritans choose to live in communities rather than on individual farms?
What factors likely led some early Americans to change from hunting to farming?
Which choice is a sentence fragment? a. I try. b. Unless he calls you, don't worry about it. c. After she finished writing her first novel. d. Once the pain