Write a java statement to declare and
create an
array 'num' of 40 integers
Answers
Answered by
0
int[ ] num = new int[40];
OR
int[ ] num;
num = new int[40];
Answered by
2
Question:-
Write a java statement to declare and create an array 'num' of 40 integers.
Statement:-
The statement should be,
int num[]=new int[40];
Or,
int[] num=new int[40];
Or,
int num[];
num[]=new int[40];
Similar questions