Q. How do you declare an array of integers in Java?
Solution:
The standard syntax for declaring an array in Java is type[] arrayName; or type arrayName[]; int[] arr; is the most common convention.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.