page 1 out of 3
page 1 out of 3
Question 1
Question 2
Question 3
Question 4
Question 5
class Paint { public void Color(int x) { } public void Color(int x, int y) { } public void Color(int x, int y, int z) { } }
Question 6
class Paint { Paint(int x) { } Paint(int x, int y) { } Paint(int x, int y, int z) { } }
Question 7
Question 8
class Parent { public void show() { System.out.println("Parent"); } } class Child extends Parent { public void show() { System.out.println("Child"); } } public class Sample { public static void main(String[] args) { Child c = new Child(); c.show(); } }
Question 9
class Parent { public void show() { System.out.println("Parent"); } } class Child extends Parent { public void show() { System.out.println("Child"); } } public class Main { public static void main(String[] args) { Child c = new Parent(); c.show(); } }
Question 10
page 1 out of 3
page 1 out of 3
Oops!!
To view the solution need to Login