AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
Which of the following array d...
Which of the following array declarations is correct?
double[ ] grades;grades = new double[2];
Correct
double[10] money=double[ ];
byte[ ] b=byte[ 20];
Integer i[ ]=new Integer;
String names[20]=new String;
Similar ITE-6104 questions
What is the output of the code snippet below: int[] intArray = { 1, 2, 3, 5, 6, 7 }; ...
Which of the following is a valid method name:
What is the name of this method: int test(){return 1;} ?
Which of the following shows a valid Overloading method?
What is the return type of this method: int test(){return 1;} ?
What is the output of the code snippet below: void main(){test();test();} void test(){System.out.pri...