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 |
Program to check whether a word is the first word of the sentence.
What is the difference between a mixin and inheritance?
What is Dynamic Polymorphism?
What do you mean by binding of data and functions?
What is encapsulation selenium?
What is stream in oop?
How do you make derived class as an abstract class?
What is encapsulation oop?
WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET
what is the application of oops?
can you give the dynamic polymorphism types?
Write an operator overloading program to write S3+=S2.