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 |
What does sksksk mean in text slang?
Name an advantage of array over linked list?
24 Answers GML, IBM, Software Solutions,
Can a varargs method be overloaded?
How do you make derived class as an abstract class?
how to get the oracle certification? send me the answer
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
1. Define a class.
what is the difference between javap and jad utility
Write a program to get the binary tree.
What is destructor give example?
Program to read a comment string
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).