Object Oriented Programming in Java - Old Questions

Question Answer Details

1.

iii) Which of these is an incorrect array declaration?

a) int ary[] = new int[5];    b) int[] ary = new int[5];    c) int ary = int[5] new;    d) int ary[]; ary = new int[5];

1 marks
Asked in 2019-Objective

Answer

AI Generated Answer

AI is thinking...