What are the OOPS concepts?

Answers were Sorted based on User's Feedback



What are the OOPS concepts?..

Answer / purushotham

There are Four OOPS Concepts
1.Encapsulation
2.Abstraction
3.Inheritance
4.Polymorphism

Is This Answer Correct ?    7 Yes 1 No

What are the OOPS concepts?..

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

What are the OOPS concepts?..

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

What are the OOPS concepts?..

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

What are the OOPS concepts?..

Answer / prasad

The concepts of OOPs are
Objects
Data abstraction
Data Encapsulation
Inheritance
Overloading
Polymorphism

Is This Answer Correct ?    3 Yes 0 No

What are the OOPS concepts?..

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

What are the OOPS concepts?..

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

What are the OOPS concepts?..

Answer / test

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

What are the OOPS concepts?..

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

What are the OOPS concepts?..

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

Post New Answer

More OOPS Interview Questions

What is difference between class and object with example?

0 Answers  


Why do we use virtual functions?

4 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 Answers  


what is code for call by value and call by reference?

1 Answers  


What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...

2 Answers  






Why it is called runtime polymorphism?

0 Answers  


Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku

4 Answers  


What is encapsulation selenium?

0 Answers  


The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

6 Answers   TCS,


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

2 Answers  


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

0 Answers  


Do you know about multiple inheritance?

0 Answers   Motorola,


Categories