wplecturer.com
0 votes
20 views

What is difference between inheritance and polymorphism?

in Laravel by (67.0k points) | 20 views

1 Answer

0 votes

The difference between inheritance and polymorphism

In inheritance, we create new classes that inherit features of the superclass while polymorphism decides what form of method to execute. Inheritance applies to classes, whereas polymorphism applies to methods

by (67.0k points)

1.6k questions

1.6k answers

81.3k users

3 Online Users
0 Member 3 Guest
Today Visits : 704
Yesterday Visits : 1254
Total Visits : 1884308
Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you, Elias Katsaniotis, MSc.
1,644 questions
1,649 answers
81,318 users
@ 2022 V Katsanioti ,All rights reserved