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
Political Science,
3 months ago
World Languages,
3 months ago
Math,
6 months ago
Physics,
10 months ago