Answer Posted / prp
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.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
Why is there no multiple inheritance?
Why do we use polymorphism in oops?
What is coupling in oops?
can inline function declare in private part of class?
What is multilevel inheritance explain with example?
What is the point of oop?
What is encapsulation oop?
What makes a language oop?
Which is not an object oriented programming language?
#include
Explain the concepts involved in Object Oriented programming.
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is the purpose of polymorphism?
what is graphics
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?