+ 1

what is an example of polymorphism?

1. inner class 2. method overloading 3.method overriding 4. anonymous class

17th Dec 2016, 6:35 PM
Somnath Ghosh
Somnath Ghosh - avatar
4 ответов
0
overload is example of polymorphism and override is runtime polymorphism
17th Dec 2016, 8:00 PM
Ahmed Gamal
Ahmed Gamal - avatar
0
Bank account can have many forms Fixed deposits account, savings account, current account....
18th Dec 2016, 1:38 AM
Agaba Ivan
Agaba Ivan - avatar
0
hello all... i got this question in my exam...so i can't pick two answers
18th Dec 2016, 3:01 AM
Somnath Ghosh
Somnath Ghosh - avatar
- 1
They say: Overloading is "compile time" polymorphism. Overrideing is runtime polymorphism. Both are polymorphism.
18th Dec 2016, 2:10 AM
The PGDeveloper
The PGDeveloper - avatar