answersLogoWhite

Top Answer
User Avatar
Wiki User
Answered 2009-10-26 03:21:46

Inheritance is the object oriented feature by which the functionality and features of one class are made available to another class without having to copy paste the code.

Polymorphism is the object oriented feature by which multiple methods of a class can coexist with minor differences. Ex: method overloading.

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Related Questions


distinguish between multiple allels and polygenic inheritance


Inheritance and Polymorphism are two totally different things. The only relation between the two is that they are both Object Oriented concepts used in Java. Please check the Related Links to read in detail about Inheritance and Polymorphism and once you do, you will realize that they are both totally different.


Polymorphism and Allotropy are same thing. Polymorphism is used for compounds and the allotropy is reserved for elements. You can go for XRD to check the crystal structure and their composition to distinguish.


abstraction, inheritance, encapsulation, and polymorphism.


Encapsulation, inheritance, polymorphism and abstraction.


Yes. Inheritance and polymorphism are two different things. Inheritance is when the attributes and methods of a class are inherited by a deriving class that creates a more specialized type. Polymorphism is when two methods exist with the same name, differing only in argument types, or in class type. The former type, argument types, is an example of ad-hoc polymorphism that does not even require a class.


Polymorphism is an important principle in OOP; it would be hard to imagine OOP without it. Other important principles are inheritance, and encapsulation.Polymorphism is an important principle in OOP; it would be hard to imagine OOP without it. Other important principles are inheritance, and encapsulation.Polymorphism is an important principle in OOP; it would be hard to imagine OOP without it. Other important principles are inheritance, and encapsulation.Polymorphism is an important principle in OOP; it would be hard to imagine OOP without it. Other important principles are inheritance, and encapsulation.


Data Encapsulation, Abstraction, Inheritance, Polymorphism


polymorphism,inheritance,encapsulation,objects,classes


Encapsulation, Polymorphism, and Inheritance.


Through inheritance and virtual functions.



Encapsulation, Inheritance, and Polymorphism


Inheritance, Abstraction, Polymorphism & Encapsulation.


Encapsulation, inheritance, polymorphism and abstraction.


Encapsulation, data hiding, inheritance and polymorphism.


Inheritance Encapsulation Polymorphism Abstraction


Encapsulation, inheritance, polymorphism and abstraction.


inheritance allows the developer to reuse the same code nd hence reduce the complexity of the program.it also supports polymorphism.


Some of the features of OOP are:EncapsulationPolymorphismInheritanceetc


if any system supports for abstraction,encapsulation,inheritance and polymorphism.


Because it implements object oriented programming concepts like inheritance, polymorphism, encapsulation, abstraction, polymorphism etc etc.


Yes. The only difference between a struct and a class is that a struct's members and inheritance is public by default, while a class' members and inheritance are private by default. Structs can derive from classes and classes can derive from structs. As such, they are polymorphic.


In static polymorphism is exhibited at compilation time, where as dynamic exhibited at runtime...


The features of object oriented programming are Abstraction, Encapsulation, Polymorphism & Inheritance



Copyright ยฉ 2021 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.