answersLogoWhite

0

What are the features of OOP?

Updated: 8/11/2023
User Avatar

Wiki User

9y ago

Best Answer

The primary features of an object oriented language are:

* Encapsulation - This allows every object to have its own properties and behaviors separate from others, and its own little "capsule" to keep its properties in. * Inheritance - This allows an object to inherit the properties of its ancestors. * Polymorphism - The allows an object to be treated like one of its ancestors, i.e. if Truck was a subclass or descendant of an object called Automobile, it can redo behaviors that Automobile had, like Automobile has a suspension feature that has it set to 10 inches tall, Truck overwrites it and says its 30 inches tall.

* Abstraction - This idea is related to encapsulation in that you don't care how the object works, but you can make it behave in certain manners.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

The four main features of object oriented programming are encapsulation, inheritance, polymorphism and abstraction.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

hoo

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the features of OOP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 are the features of an oop programming language?

Object-oriented programming (OOP) languages include features like classes, objects, encapsulation, inheritance, and polymorphism. Classes are blueprints for creating objects, encapsulation allows data hiding and protects data integrity, inheritance enables code reusability by allowing new classes to inherit attributes and behaviors from existing classes, and polymorphism allows objects of different classes to be treated as objects of a common superclass.


Can generations 1-4 programming languages be object-oriented programming language?

First-generation is binary, just zeros and ones, so you can not talk about OOP at this level. The same is true, no OOP, for the second-generation languages, assembly languages. Third-generation languages include C++ and Java, so, YES, you can say that a third generation language can be OOP. Fourth-generation languages can include OOP features, but tipically they are closer to human language and are not intended to be OOP. Fifth-generation languages are used mainly in artificial intelligence research, so, no OOP. More about it you can find at http://en.wikipedia.org/wiki/Programming_language.


When was ZZT-oop created?

ZZT-oop was created in 1991.


How do you ally oop in 2k9?

how to ally oop in nba 2k9


What is a one letter initial called?

The 'Initial'


What bird goes oop oop oop?

The hoopoe makes a sound that goes 'oop oop oop.' In many cultures, the bird has a similar name because of this particular call they are known for. Hoopoes are birds from the Afro-Eurasian region. They have distinctive feather patterns in their wings and crests, as well as flat dark bills.


What is the duration of Allez Oop?

The duration of Allez Oop is 1260.0 seconds.


What is difference between oop and advanced oop?

the word advanced. If these 2 are course titles, the institute should have the course descriptions. In software development, it would be the first time for me to hear about advanced oop. (what is the basic oop, then?)


When was Alley Oop - song - created?

Alley Oop - song - was created in 1960.


How does a hoopoe communicate?

The hoopoe makes a sound like 'oop-oop-opp.'


When was Allez Oop created?

Allez Oop was created on 1934-05-25.