Object Oriented Programming (OOPs)

© examsiri.com
Question : 22 of 72
 
Marks: +1, -0
Given:
1.interface A { public int getValue(); }
2.class B implements A {
3.  public int getValue() { return 1; }
4.}
5.class C extends B {
6.  /*insert code here*/
7.}

Which three code fragments, inserted individually at line 6, make use of polymorphism?
Go to Question: