Object Oriented Programming (OOPs)

© examsiri.com
Question : 19 of 72
 
Marks: +1, -0
Given:
class One {
  public One foo() { return this; }
}
class Two extends One {
  public One foo() { return this; }
}
class Three extends Two {
  // insert method here
}

Which two methods, inserted individually, correctly complete the Three class?
Go to Question: