Overriding means changing behaviour of methods of derived class methods in the base class.

Nguyễn Pháp

New member
Overriding means changing behaviour of methods of derived class methods in the base class.
A. True
B. False
 
Answer: b
Explanation: Overriding means if there are two same methods present in the superclass and the subclass, the contents of the subclass method are executed.
 

Tìm kiếm

Back
Top