answersLogoWhite

0


Best Answer

Code Reuse and avoiding redundancy is the main advantage of inheritance concept. Using inheritance, instead of rewriting a piece of code again in a class, we inherit the features from the parent class and use it instead

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What could be the main advantage of inheritance concept of object orientation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is the object oriented programming in php useful?

Object orientation is not a concept related to usefull ness, it is a concept totally related to the software design. When we focused on software design we went for object orientation.


What are the basic concept of object oriented programming language?

Inheritance Encapsulation Polymorphism Abstraction


Which object-oriented concept defines the relationship between a subclass and a super class?

Inheritance


What is multiple inheritence in c?

C is not object oriented and therefore has no concept of inheritance of any kind.


Why you need to use inheritance?

Inheritance is an object oriented programming concept that helps us with the following benefits:You can reuse existing code instead of having to write them againredundancy of code is avoidedrework and maintenance is easy


Does java support oops concept?

Yes. Java is an Object Oriented Programming Language and it supports the OOPS concepts like Inheritance, Polymorphism etc


Why Encapsulation is an important concept in the context of Object Orientation?

From the point of view of security and robustness it is important for the program code in a class that instantiates an object not to be necessarily visible to the programmer and never visible to the user.


How do you create multiple inheritance in c?

You don't. Inheritance is a feature of object oriented programming languages. C is not object oriented.


Why is multiple inheritance not possible in C?

C is not object-oriented -- you can't even use single inheritance let alone multiple inheritance.


What do you mean by object?

In advanced programming languages, the re-usability of a portion of code capable of performing a given function is an unique advantage. The compartmentalization of a code which can be reused later and invoked by the class name is referred as object inheritance. In classical inheritance classes are used while in object inheritance sub classes and super classes are add-on features. It saves lengthy redundant coding by inherting the desired code function and calling it by name . -JP Morgan


What is the distinct difference between object oriented concept and object oriented programming?

Object oriented concepts are a generalisation of the object oriented principals (encapsulation, inheritance, polymorphism and abstraction) without specifying a particular implementation of those principals. Object oriented programming is the application of those principals through an object oriented programming language.


What is an inheritance Explain different types of inheritance in c?

C is not an object oriented language and therefore has no native support for inheritance.