1.

Overriding means changing behaviour of methods of derived class methods in the base class.(a) True(b) FalseThis question was posed to me at a job interview.I would like to ask this question from Polymorphism in portion Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python

Answer»

The CORRECT option is (b) False

The BEST I can EXPLAIN: Overriding means if there are two same methods present in the superclass and the subclass, the contents of the subclass method are EXECUTED.



Discussion

No Comment Found

Related InterviewSolutions