Skip to main content
Output PredictionJV Java Medium+20 XP

Array Length

What is the output?

Java
int[] arr = {10, 20, 30};
System.out.println(arr.length);

🔮 What is the output?