features of OOPS
Answers were Sorted based on User's Feedback
Answer / vijender singh
. Encapsulation: Binding of Code and data together in a
single entity
2. Polymorphism: One name many properties (funtion
Overloading)
3. Inheritance:Acquiring properties of one object to another
| Is This Answer Correct ? | 15 Yes | 7 No |
Answer / abhijeet sinha
Classes
objects
Encapsulation
Inheritance
Polymorphism
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / kolla pavan
class
object
encapsulation
abstraction
inheritence
message passing
dynamic binding
| Is This Answer Correct ? | 11 Yes | 5 No |
Answer / ramaiah.teepalapudi
Tme main advantages of OOPs are
1.Code reusability
2.Program code reduction
| Is This Answer Correct ? | 11 Yes | 5 No |
Answer / shivam`
There are two types of polymorphism.
1. Compile time polymorphism - It is achieved by
overloading functions and operators
2. Run time polymorphism - It is achieved by overriding
virtual functions
Lets say you have a class that have many Load methods having
different parameters, this is called Compile time
polymorphism. Lets take another example where you have a
virtual method in the base class called Load with one
parameter and you have redefined its functioanlity in your
sub class by overriding base class Load method, this is
called Run time polymorphism.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / chinni
object,class,polymorphism,inheritance,dynamic binding,message
passing,abstraction,encapsulation.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / shahid
these are following features of OOPS.
1.Class
2.Object
3.Data Abstraction
4.Polymorphism
6.Inheritance,etc.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / swati kashyap
Followings are the feature of OOPS:
OBJECT
CLASS
ABSTRACTION
ENCAPSULATION
POLYMORPHISM
INHERITANCE
MESSAGE COMMUNICATION
OBJECT:- IS THE INSTANCE OF CLASS
CLASS:- IS THE TEMPLATE OF OBJECT i.e, class contain object
in it.
ABSTRACTION:- IS WAY TO REPRESENT THE ESSENTIAL INFORMATION,
WITHOUT SHOWING THE HIDDEN DETAILS. FR EX:- WORKING OF ANY
ELECTRICAL APPLIANCE WE ARE NOT FAMILIAR WITH THE HIDDEN OR
THE INTRINSIC WORKING OF THE APPLIANCE BUT WE KNOW HOW TO
OPERATE IT. BUY PRESS BUTTON. WE KNOW THE OUTCOME OF THAT
MACHINE NOT THE INTERNAL WORKING OF IT.
ENCAPSULATION:- IS THE WAY OF HIDING THE DATA. OR IN OTHER
WORDS EVERYONE IS NOT ABLE TO RETRIEVE THE DATA.
POLYMORPHISM:-IS GENERALLY USED FOR OVERLOADING.
POLYMORPHISM ARE OF TWO TYPES:
COMPILE TIME POLYMORPHISM, RUN-TIME POLYMORPHISM
INHERITANCE:- IS THE WAY, Via. WHICH CHILD OR SUB CLASS CAN
EXTENDS THE ALL METHODS AND FUNCTION OF THE SUPER OR PARENT
CLASS. HERE PARENTS OR SUPER CLASS IS THE CLASS BY WHICH THE
SUB CLASS GET INHERITED. FR EX.. THE VERY OBVIOUS EXAMPLE IN
REAL LIFE, A RELATION OF PARENT AND CHILD.
MESSAGE COMMUNICATION:- MESSAGE COMMUNICATION IS GENERALLY
USED WHEN OBJECT WANTS TO COMMUNICATE WITH EACH OTHER..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sudhanshu mishra
class,objects,inheritance,encapsulation,constructor,abstrcti
on,polymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pari
class:- classes are set of objects that share common
structure & common behavior. Contain data & fun to
implement structure and behavior of obj.
| Is This Answer Correct ? | 1 Yes | 2 No |
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123
to find out the minimum of two integer number of two different classes using friend function
Why do we use oop?
What is ambiguity in inheritance?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
explain sub-type and sub class? atleast u have differ it into 4 points?
Program to check whether a word is the first word of the sentence.
what is the new version of oops
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is class in oop with example?
What are the 4 pillars of oop?
What is difference between function overloading and overriding?