Advertisements
Advertisements
Question
What is the default value of the primitive data type int?
One Line Answer
Short Note
Solution
The default value of int is 0 (zero).
shaalaa.com
Classes as an Object Factory
Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - Review Insight [Page 31]