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

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan

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