What is the default initialization of an array in Java? - Stack Overflow

What is the default initialization of an array in Java? - Stack Overflow

瀏覽:635
日期:2024-09-24
Is it safe to assume that the default initialization is setting the array indices to 0 which would mean I don't have to loop through the ... Everything in Java not explicitly set to something, is initialized to a zero value. ... String (or any object) - n...看更多