 |
What is the default initialization of an array in Java? - Stack Overflow
From the Java Language Specification: * Each class variable, instance variable, or array component is initialized with a default value when it is created ( 15.9, 15.10): o For type byte, the default value is zero, that is, the value of (byte)0. o For type
stackoverflow.com |
 |