Computer Science, asked by anshuldaksh232, 5 hours ago

Which of the following Array declaration statement is illegal ​

Answers

Answered by oshthapa966
2

Answer:

class Test {

class Test { public void methodA(int i) {

class Test { public void methodA(int i) { System.out.println(i);

class Test { public void methodA(int i) { System.out.println(i); }

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) {

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1);

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1;

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; }

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; } public static void main(String args[]) {

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; } public static void main(String args[]) { Test X = new Test();

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; } public static void main(String args[]) { Test X = new Test(); X.methodA(5);

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; } public static void main(String args[]) { Test X = new Test(); X.methodA(5); }

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; } public static void main(String args[]) { Test X = new Test(); X.methodA(5); }}

class Test { public void methodA(int i) { System.out.println(i); } public int methodA(int i) { System.out.println(i+1); return i+1; } public static void main(String args[]) { Test X = new Test(); X.methodA(5); }}

Answered by kshristinalaishram
0

Answer:

here is your answer

Explanation:

I hope my answer help You...

Attachments:
Similar questions
Math, 5 hours ago