Your browser does not support JavaScript!

Which of the following is a correct declaration of an array?

  • Double[ ] dbl= new Double(5);
  • StudentRecord sr=new StudentRecord[100];
  • PaySlip[ ] ps=new ps;
  • None of the choices
  • EmployeeRecord[ ][ ] er=new EmployeeRecord[10][10]; Correct
Similar ITE-6104 questions