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

helllllllllp................
What expression is equal to the expressions 4x-2(3x-9)
2/5 g - 1/6 - g + 3/10 g - 4/5
in the diagram, the length of segment VS is 39 units. What is the length of segment TV? 14 units 19 units 38 units 50 units​
What was the final price of the wind chime?
Brainliest for the first solution
The area of a rectangular field is 15.8km².If the width is 4000 m, find the length, in m, and state in the standard form.​
Which of these is an environmental effect of deforestation? A. Temperature decrease B. Poisoning wildlife C. soil erosion D. Water temperature increase
what should be done to make a Nepal developed country​
abc = pqr. Area of abc is 60cm2 and base of pqr is 12cm what is iys altitude