How many bytes are used to represent the primitive data type int in Java ?

  1. 4

  2. 2

  3. 8

  4. The number of bytes to represent an int is compiler dependent.


Correct Option: A

Find more quizzes: