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 |
Why oops is important?
Who invented oop?
Write on signed and unsigned integers and give three (3) examples each
what i oops concept, how many languages supports oops concept?
How to overload postfix operator in c++
what is object oriented programming and procedure oriented programming?
#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }
What is difference between #define and const?
create a c++ program that will accepts 9 inputs using 3 by 3 array.
why we call c++ is object oriented lanaguage
string is a class or data type in java?
what is the difference between ERROR and EXCEPTION?