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
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.
Inheritance Encapsulation Polymorphism Abstraction
Inheritance
C is not object oriented and therefore has no concept of inheritance of any kind.
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
Yes. Java is an Object Oriented Programming Language and it supports the OOPS concepts like Inheritance, Polymorphism etc
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.
You don't. Inheritance is a feature of object oriented programming languages. C is not object oriented.
C is not object-oriented -- you can't even use single inheritance let alone multiple inheritance.
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
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.
C is not an object oriented language and therefore has no native support for inheritance.