What will be the default values of all the elements of an array defined as an instance variable?
Short Answer
Views 638
Answer:
If the array is an array of primitive types, then all the elements of the array will be initialized to the default value corresponding to that primitive type.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.