Declaration and Access Control on Java related Questions and Answers


Question :   Which one creates an instance of an array?
1. int[ ] ia = new int[15];
2. float fa = new float[20];
3. char[ ] ca = ''Some String'';
4. int ia[ ] [ ] = { 4, 5, 6 }, { 1,2,3 };
Answer :   1 - int[ ] ia = new int[15];  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter