Medium
EST. TIME: 45 minDemonstration of Polymorphism
To demonstrate Polymorphism.
Theory
Polymorphism allows objects to be treated as instances of their parent class.
Procedure
- Implement method overriding.
- Implement method overloading.
To demonstrate Polymorphism.
Polymorphism allows objects to be treated as instances of their parent class.
Hi, how can I help you Today!