Beginner
Java
Q5 / 100
What is the default value of an int variable in Java?
Correct! Well done.
Incorrect.
The correct answer is D) 0
D
Correct Answer
0
Explanation
Instance variables of type int are automatically initialized to 0 if no value is assigned.
Progress
5/100