List the correct ways of declaring an Array.
Answer options
A
int [ ]studentId;
B
String [ ] name [ ];
C
int studentId[ ];
D
int studentId[10];
E
String name[]=new String(10);
Correct answer: int [ ]studentId;
Explanation
Quick AnswerThe correct answer is int [ ]studentId; because it directly addresses the core logic of Java Programming.
This question has been retained as-is due to its unique context.