What are the OOPS concepts?

Answers were Sorted based on User's Feedback



What are the OOPS concepts?..

Answer / varsha

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 place, a number and icons or something else that can be modeled. Any data in an object occupy some
space in memory and can communicate with each other .

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 manipulate these data’s.

3.ABSTRACTION:
It can be defined as the separation of unnecessary details or explanation from system requirements so as to reduce the complexities of understanding requirements.

4.ENCAPTULATION:
It is a mechanism that puts the data and function together.
It is the result of hiding implementation 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 relevant features of other class -the parent.
Inheritance bring about reusability.

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 process of resolving the function to be associated with the respective functions calls during their runtime rather than compile time.

8.MESSAGE PASSING:
Every data in an object 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 ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / manoj kumar verma

OOps or Object Oriented Programming is the technique to
create program based on the real world.
OOPs based language to findout the object and manipulate
and their relation between each other. OOPa offer greather
flexibility and comptibility and is populor in developing
large application.
OOPs define the various properties such as..
1. Class -:
In class Define the all the Data members and
methods.
2. Objects -:
object is the Instance of class.
3. Methods -:
We know that a class can define both
attributes and behaviour.Attrbutes are define by varibles
and behavior are define by methods.

4. Abstraction -:
only show the essential details and do
not show the non - essential details.

5. Encapsulation -:
Means, hiding of the data members or
packing the data members and methods.

6. Inheritance -:
Reuseability of the code by making a
derived class. for e.g. father -> chield
A class is made looking at which the new derived class is
made with modification or addition in the derived class

7. Polymorphism -:
When one objects show the various
forms then it is known as polymorphism. for e.g.
One mobile key type the some character and one digits.

8. Message Passing -:
we can pass the one object to
another.

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / nikky

OOPS concepts are:

CLASS
OBJECT
ABSTRACTION
ENCAPSULATION
INHERITANCE
POLYMORTHISM

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / vaibhav

In simple way,
The complex programming organizing in to simple structure by
using the concepts methodologies of,
Encapsulation
Abstraction
Polymorphism
Inheritance.

Is This Answer Correct ?    2 Yes 1 No

What are the OOPS concepts?..

Answer / krishna

1)Object-Instance of the class
2)Classes-Combination of Data members and member functions
3)Data Abstraction-Abstracting the data and functions from
unwanted users.
4)Data Encapsulation-Wrapping up of Data members and member
functions.
5)Inheritance-Passing the values from one object to anther
object.
6)Message Passing-Messages can possible from one object to
anther object
7)Polymorphism-its like function over loading.
Poly-Many, morphism-Forms
8)Robust and Securisam-its for security purpose

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / abhradeep

Object is form of data abstraction so the OOP concepts will be as follows

1) Encapsulation (E.G Class)
2) Abstraction (E.G Object)
3) Polymorphism (e.g Overloading, overriding)
4) Inheritance (e.g Interface, Abstract Class)
5) Dynamic binding (e.g new keyword @ the runtime)

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / razz rohit

1)Object-Instance of the class
2)Classes-Combination of Data members and member functions
3)Data Abstraction-Abstracting the data and functions from
unwanted users.
4)Data Encapsulation-Wrapping up of Data members and member
functions.
5)Inheritance-Passing the values from one object to anther
object.
6)Message Passing-Messages can possible from one object to
anther object
7)Polymorphism-its like function over loading.
Poly-Many, morphism-Forms
8)Robust and Securisam-its for security purpose

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / faizan

1)object
2)class
3)encapsulation & abstraction
4)polymorphism
5)inheritance
6)message passing
7)dynamic binding

These all are partially supported by c++,java supports
all the above features

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / aakritybuxy

Its a concept,used to describe a computer application that
is composed of multiple objects,which are connected to each
other. Three of the most basic concept for OOPS are:
* Classes
* Objects
* Methods...
There are few more concepts :
* Inheritance
* Abstraction
* Polymorphism
* Encapsulation.

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / gaskdfgka

Object-oriented programming (OOP) is a computer science
term used to characterize a programming language that began
development in the 1960’s. The term ‘object-oriented
programming’ was originally coined by Xerox PARC to
designate a computer application that describes the
methodology of using objects as the foundation for
computation. By the 1980’s, OOP rose to prominence as the
programming language of choice, exemplified by the success
of C++. Currently, OOPs such as Java, J2EE, C++, C#, Visual
Basic.NET, Python and JavaScript are popular OOP
programming languages that any career-oriented Software
Engineer or developer should be familiar with.

Software Engineer S.Gowtham
e-mail:gowtham7pulse@yahoo.in
any doubts pl's send your questains
ok

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More OOPS Interview Questions

What is nutshell in programming language?

1 Answers   Satyam, Tech Mahindra,


What is difference between new and malloc?

7 Answers   emc2,


oops concept is used for?

3 Answers   Synergy,


what is data hiding.

3 Answers   Wipro,


advantage and disadvantage in c++>>oops and what are the questions ask for interview in c++>>oops. could you tell me or reply me

0 Answers  






What is virtual function?where and when is it used?

2 Answers   Sitel,


What is oop in simple words?

1 Answers  


What is advantage of inheritance?

0 Answers  


What does <> mean pseudocode?

0 Answers  


What is Dynamic Polymorphism?

13 Answers  


What is byval and byref? What are differences between them?

0 Answers   HCL, Wipro,


What normal C constructs work differently in C++?

2 Answers  


Categories