A

Admin • 828.03K Points
Coach

Q. What is the default value of an int variable in Java if it's not explicitly initialized?

  • (A) 0
  • (B) 1
  • (C) -1
  • (D) Null
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
The correct answer is Option A: 0.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.