0 votes
74 views
in General by (0 points)
closed by
Which of the following declarations will cause a compile time error?
a.int[] scores = null;
b. int[] scores =new int[5];
c. String[] nameArray = new String[10];
d. String[] nameArray = (5,3,2);
closed

1 Answer

0 votes
by (0 points)
 
Best answer
d

Related questions

0 votes
1 answer 79 views
0 votes
1 answer 127 views
0 votes
1 answer 69 views

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...