answersLogoWhite

0

The main difference is that: neither of them are related to one another. They have nothing similar between them and are totally different. The only point here is that they are both used in Java which can be stated as a similarity.

Inheritance is the feature wherein functionality from one class is available for another class.

Polymorphism refers to the feature wherein the same entity exists as multiple items. Ex: method overriding, method overloading etc.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Main deffrent between c and cpp?

The main difference between c and c++ is the concept of 'Object Oriented Programming' (OOPS). Thus c does not have the benefits of oops like: 1. abstraction 2. encapsulation 3. inheritance 4. polymorphism etc.


Basic concepts of OOP?

The four main pillars of all OOP languages are encapsulation, inheritance, polymorphism and abstraction.


What are the main features of OOP in c plus plus?

The main features of OOP are the same regardless of the language. They are: encapsulation; data hiding; inheritance; and polymorphism.


What is the difference between polyethylene and polyester?

what is the main difference between polyethylene and polyesters what is the main difference between polyethylene and polyesters


What is the main difference between the two products?

The main difference between the two products is their ingredients.


What are the main differences between the inheritance patterns for a dimpled chin and for height?

19,482


What is the main difference between animation and simulation?

There is no difference.


What is the main difference between compaction and consolidation?

difference between campaction and consolition


What are the main difference between communicating with adults and children?

what are the main difference between communicating with adults and communicating with children


The main difference between amino acids is there?

What? Speak proper english, please. The main difference between amino acids and what?


What is the main difference between Kenya and Egypt?

there is one hour difference


What is the main difference between V and IV as cadence chords?

Whats the main difference between V and IV as cadence chords?