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

Which is better struts or spring?

0 Answers  


can you give real time example for polymarphism

5 Answers   TCS,


What is the difference between C++ and java?

6 Answers   Atos Origin,


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 is the difference between abstraction and polymorphism?

0 Answers  






what is the difference between class and object?

9 Answers  


What is the difference between static polymorphism and dynamic polymorphism?

0 Answers  


Why we use classes in oop?

0 Answers  


What is constructor overloading in oop?

0 Answers  


what are the different types of qualifier in java?

0 Answers   TCS,


write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?

2 Answers   IBMS, Zycus Infotech,


What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5

16 Answers   TCS,


Categories