answersLogoWhite

0

'0'

Try this:

public static void main(String[] args){

}

The output would be 0 even though you did not initialize any value in the int array.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: What is the default value of the array elements in an integer array?
Write your answer...
Submit
Still have questions?
magnify glass
imp