What will be the default values of all the elements of an array defined as an instance variable?

Java Programming Language >   DataTypes in java >   About Java Tutorial  

Short Question

780


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.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.