Junior — Middle
Where can you find official information about the size of primitive data types in Java?
sobes.tech AI
Answer from AI
Official information about the size of primitive data types in Java can be found in the Oracle Java SE documentation, particularly in the section describing primitive data types. It states, for example, that int occupies 4 bytes, byte — 1 byte, long — 8 bytes, and so on. This information can also be found in the Java Language Specification.