Array object named 'marks' with size for 5 elements can be created as follows :
A. Int marks [ ] = new int [5];
B. Int[ ] marks = new int [5];
C. Both (A) and (B)
D. None of these
Answer:B
Array object named 'marks' with size for 5 elements can be created as follows :
A. Int marks [ ] = new int [5]; B. Int[ ] marks = new int [5]; C. Both (A) and (B) D. None of these