What are the OOPS concepts?
Answers were Sorted based on User's Feedback
Answer / purushotham
There are Four OOPS Concepts
1.Encapsulation
2.Abstraction
3.Inheritance
4.Polymorphism
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / harmeet singh
Object-oriented programming (OOP) is a programming model
that uses "objects"(object is a combination of message and
data that can receive and send messages and use messages to
interact with each other) and their interactions to design
applications and computer programs. Programming techniques
may include features such as information hiding, data
abstraction, encapsulation, modularity, polymorphism, and
inheritance
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / tinku
The main OOP concepts are
1.Objects
2.Classes
3.Data abstraction
4.Data encapsulation
5.Inheritance
6.Polymorphism
7.Dynamic binding
8.Message passing
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sirisha
oops concepts are
1.Object
An object is collection of data members and associated
member functions.
2.Class
Class is a data structure which encapsulates data and
member function in a single unit and the member funtions of
the class are used to access member variables.
3.Abstraction
Abstraction is of the process of hidding data.
or
Identifying the important properties of existing modes.
4.Encapsulation
The wrapping up of data and methods in a single unit is
known as encapsulation.
5.Polymorphism
Process of aquiring properties from one object to another
with changes.
or
The same operation can be applied differntly in diffent
objects.
ex:5+2,a+b.
6.Inheritance
Process of aquiring properties from one object to another
without changes.
or
Identifying the important features based on one class to
next class.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / prasad
The concepts of OOPs are
Objects
Data abstraction
Data Encapsulation
Inheritance
Overloading
Polymorphism
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / jithin
Object:- An object is collection of data. It may represent
a person,place,etc.
Object is the basic unit of object-oriented programming.
Objects are identified by its unique name. An object
represents a particular instance of a class. There can be
more than one instance of an object. Each instance of an
object can hold its own relevant data.
Class:-A class is collection of objects in similar nature.
Inheritence:- It means creation of a new class from an
existing class. The derived class has the power to acces
all members from his parent if it is not private.
DataAbstraction:- It define a programmer does not worry
about the back ground of the system, he just concentrate
his progarm only.
Data Encapusulation:- It simly known as data organised in
single unit. It is possible throuh classes. It also helps
to hide our data from outsiders in the program. It is very
helpful to secure our data.
Polymorphism:-A data differntly behaved in differnt
situation. eg: a person lough whenver he happy and the same
person will cry when he sad.
7.DYNAMIC BINDING:
Dynamic binding is the proces of resolving the function to
be associated with yhe respective functions calls during
their runtime rather than compile time.
8.MESSAGE PASSING:-Every data in an objest in oops that is
capable of
processing request known as message .All object can
communicate with each other by sending message to each other
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sukumar s
OOPS concepts are seven:
They are:
*-Objects
*-Class
*-Data Abstraction
*-Data Encapsulation
*-poymorphism
*-Inheritance
*-Message Passing & Dynamice Binding
But its more than enough if we concentrate and know more
details about abstraction, Encapsulation, Polimorphism and
Inheritance.
Here i have given the details upto my best.....
| Is This Answer Correct ? | 3 Yes | 0 No |
OOPs concepts are
1)object
2)class
3)encapsulation
4)abstraction
5)polymorphism
6)inheritance
7)message passing
8)dynamic binding
BASIC CONCEPT OF OOPS:
1.OBJECTS:
An object is an abstraction of a real world entity. It may
represent a person,a placea number and icons or something
else that can be modelled.Any data in an object occupy some
space in memory and can communicate with eachother .
2.CLASSES:
A class is a collection of objects having common
features .It is a user defined datatypes which has data
members as well functions that manupulate these datas.
3.ABSTRACTION:
It can be definr\ed as the seperation of unnecessary
details or explation from system requirments so as to
reduce the complaxities of understanding requirments.
4.ENCAPTULATION:
It is a mechanism that puts the data and function together.
It is bthe result of hiding implimintation details of an
object from its user .The object hides its data to de
accessed by only those functions which are packed in the
class of that object.
5.INHERITANCE:
It is the relationship between two classes of object such
that one of the classes ,the child takes all the relevent
features of other class -the parent.
Inheritance bring about reusablity.
6.POLYMORPHISM:
polymorphism means having many forms that in a single
entity can takes more than one form.Polymorphism is
implemented through operator overloading and function
overloading.
7.DYNAMIC BINDING:
Dynamic binding is the proces of resolving the function to
be associated with yhe respective functions calls during
their runtime rather than compile time.
8.MESSAGE PASSING:
Every data in an objest in oops that is capable of
processing request known as message .All object can
communicate with each other by sending message to each other
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shajahan
class
objects
inheritance and its types
data abstraction
data encapsulation
polymorphism
overriding and overloading
dynamic binding
| Is This Answer Correct ? | 78 Yes | 76 No |
Answer / ketan mehta
The followings are referred as the oops concepts:
Encapsulation:
wrapping up of data and member function
together into a single unit class.
Abstraction:
Showing essential feature without background
detail. Which leads to data security from unauthorized user.
Inheritance:
The property of one class inherited property
of other class. That means object of a child class need to
define only those properties that make it unique within its
class.
Polymorphism:
It is a feature that allows one entity to have
multiple forms.Polymorphism can be achived by Operator
overloading and Function overloading.
| Is This Answer Correct ? | 4 Yes | 2 No |
How to call a non virtual function in the derived class by using base class pointer
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
what is new modifier in C#
Templates mean
How does polymorphism work?
what is the 3 types of system development life cycle
What is the highest level of cohesion?
What is multilevel inheritance?
Tell us about yourself.
47 Answers ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,
What are the data types in oop?
Give two or more real cenario of virtual function and vertual object
What is difference between abstraction and encapsulation?