Letter B is correct and does not need to analyze too much. The letters A and D will give ArrayIndexOutOfBounds as they are creating an array with 1 space. The letter C is wrong because the "int array" needs to put the "int [] array" because the array type is instantiated like this.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
namaoo
4 months, 3 weeks agoKolodets
9 months, 1 week agoVicky_65
10 months agoAnkit1010
11 months, 4 weeks agokkaayyyy
1 year, 3 months agoiSnover
1 year, 3 months ago