answersLogoWhite

0

In object-oriented programming, inheritance allows the creation of is-a relationships. For example, a car is a vehicle, and a bike is a vehicle, so those could be modeled through a vehicle class, and a pair of car and bike classes, both derived from (inheriting from) the vehicle class. Derived classes like car and bike share common vehicle properties, such as speed, location, direction, number of wheels, etc.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

What is Object Oriented Programming without the principle of Polymorphism?

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.


Basic concepts of OOP?

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


In OOP the concept of insulating data and from direct access by the program is known as?

In OOP, the concept of insulating data and from direct access by the program is known as


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 need and characteristics of oop?

OOP stands for Object oriented programming. The main characteristics of OOP are 1. Class 2. Objects 3. Instance 4. Methods 5. Message Passing 6. Inheritance 7. Abstraction 8. Encapsulation 9. Polymorphism & 10. Decoupling OOP is a concept that allows us to have a program that is 1. "robust and secure". 2. "architecture neutral and portable". 3. "high performance".

Related Questions

Which concept in java implements the concept of reusabilityand what are it's types?

One important aspect of code reuse is related to inheritance, which is a standard part of OOP programming.


What is Object Oriented Programming without the principle of Polymorphism?

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.


Basic concepts of OOP?

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


What are the benefits and application of OOP?

Encapsulation, inheritance, polymorphism and abstraction.


In OOP the concept of insulating data and from direct access by the program is known as?

In OOP, the concept of insulating data and from direct access by the program is known as


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.


Why is C plus plus called an object oriented language?

It is called an OOP language because it supports the four pillars of the OOP paradigm: abstraction, encapsulation, inheritance and polymorphism. However, it is not 100% object oriented as it also supports the concept of primitive variables, including pointers, which are not implemented as objects.


What is need and characteristics of oop?

OOP stands for Object oriented programming. The main characteristics of OOP are 1. Class 2. Objects 3. Instance 4. Methods 5. Message Passing 6. Inheritance 7. Abstraction 8. Encapsulation 9. Polymorphism & 10. Decoupling OOP is a concept that allows us to have a program that is 1. "robust and secure". 2. "architecture neutral and portable". 3. "high performance".


What are the concepts of object oriented programming in c plus plus?

The concepts of OOP in C++ are the same as for OOP in any other programming language: abstraction, encapsulation, inheritance and polymorphism.


How oops concept is implemented in java?

OOP stands for Object Oriented Programming. Everything in Java is an Object. Any class you create extends the Object class by default thereby making everything in Java an object. Moreover, you can use features like Inheritance, Polymorphism, Encapsulation etc which are OOP concepts thereby making Java an Object Oriented Programming Language


What are the differences between Java OOP and PHP OOP?

JAVA is an Object Based Programming Language. it doesn't provide multiple inheritance and operator overloading. while Object Oriented Lanuages provides both.


What are the reasons for rise of constructor concept in c?

Not sure what you mean by this. C is a not an object-oriented programming (OOP) language, and therefore has no constructor concept. You probably meant C++ but, even so, there is no "rise of constructor concept". Constructors are fundamental to OOP -- they allow you to initialise an object at the point of instantiation.