R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the size of an int variable in Java?

  • (A) 16 bits
  • (B) 32 bits
  • (C) 64 bits
  • (D) Depends on the system
  • Correct Answer - Option(B)
  • Views: 2
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
In Java, an `int` is always 32 bits regardless of the system.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.