Frequent Questions      

  Home > Java > SCJP > Practice Question 1

  Java™ Certification: SCJP™ 6- Sun Certified Java Programmer Exam 


Declaration and Access Control


        Up        Next

Q1. Which of these statements are legal. Select the three correct answers.

A. int arr[][] = new int[5][5];

B. int[]arr[] = new int[5][5];

C. int[] arr = new int[5][];

D. int[] arr = new int[][5];

  Correct Answer: A, B, C




       Up           Next

Copyright © 2000-2018 All rights reserved

Website design by

Disclaimer: All Simulation Exams practice tests, study guides and/or material are neither sponsored by, nor endorsed by, nor affiliated with Oracle® or any other company. All trademarks are trademarks of their respective owners and duly  acknowledged. OCA™, OCPJP™ are registered trade marks of Oracle® . The practice tests material is a copyright of and the same is not approved or endorsed by respective certifying bodies. Thank-you for your interest in Simulation Exams. Please see read me file before you download, install, and/or use any software from  For any information or questions regarding this Website, please e-mail webmaster at