What are the OOPS concepts?

Answers were Sorted based on User's Feedback



What are the OOPS concepts?..

Answer / visnu prassath t.s

1.class
2.object
3.inheritance
4.encapsulation
5.polymorphism
6.abstraction
7.interface

Is This Answer Correct ?    2 Yes 0 No

What are the OOPS concepts?..

Answer / abhishek singh rathaur

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 ?    2 Yes 0 No

What are the OOPS concepts?..

Answer / teja

we have several types of oop's concepts .
they are:
1.class
2.object
3.polimorphism
4.abstraction
5.dynamic binding
6.message passing
7.inheritance

Is This Answer Correct ?    3 Yes 1 No

What are the OOPS concepts?..

Answer / abitha

basic concepts of oops are
object
class
encapsulatons
polymorphism
inheritance
abstraction

Is This Answer Correct ?    2 Yes 1 No

What are the OOPS concepts?..

Answer / rakadon

oop concepts are:
1.classes
2.objects
3.data abstraction
4.encapsulation
5.inheritence
6.polymorphism
7.dynmaic binding
8.message passing
these are prime oops concepts.

Is This Answer Correct ?    2 Yes 1 No

What are the OOPS concepts?..

Answer / dinesh puri

1.Object:
An Object is a computer representation of some real-world
thing (i.e person, place) or event. Objects can have both
attributes and behaviours
2.class:
Objects with the same data structure (Attributes) and
behavior (Methods or Operations) are grouped together
(called a class ).
3.Encapsulation:
Encapsulation (or information hiding) is a principle, about
hiding the details of the implementation of the interface.
It is to reveal as little as possible about the inner
workings of the Interface.
4.inheritance:
As objects do not exist by themselves but are instances of
a CLASS, a class can inherit the features of another class
and add its own modifications. (This could mean
restrictions or additions to its functionality).
Inheritance aids in the reuse of code.
Classes can have 'Children' that is, one class can be
created out of another class. The original or parent class
is known as the SuperClass (or base class). The child class
is known as the SubClass (or derived class).
5.poymorphism:
Polymorphism means the ability to request that the same
Operations be performed by a wide range of different types
of things.
Effectively, this means that you can ask many different
objects to perform the same action

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / ranjit kumar singh

The oops concepts have:
1.Class
2.Object
3.Messege
4.Resilance to change
5.Encapsulation
6.Overloading
7.Inheritance
8.Interfaces
9.Polymorphism
10.Data abstraction.

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / ram

There are so many things in oops which are related to it.
The first we understand that the full form of oops is
OBJECT ORIENTED PROGRAMING STRUCTURE.Many people knows that
the full form of oop but they don't know about the s means
structure which may be asked in interview.
Now we discuss about the concepts
THEY ARE
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. Encapsulation: It is the mechanism that binds together
code and data in manipulates, and keeps both safe from
outside interference and misuse. In short it isolates a
particular code and data from all other codes and data. A
well-defined interface controls the access to that
particular code and data.
4. Inheritance: It is the process by which one object
acquires the properties of another object. This supports
the hierarchical classification. Without the use of
hierarchies, each object would need to define all its
characteristics explicitly. However, by use of inheritance,
an object need only define those qualities that make it
unique within its class. It can inherit its general
attributes from its parent. A new sub-class inherits all of
the attributes of all of its ancestors.
5. Polymorphism: It is a feature that allows one interface
to be used for general class of actions. The specific
action is determined by the exact nature of the situation.
In general polymorphism means "one interface, multiple
methods", This means that it is possible to design a
generic interface to a group of related activities. This
helps reduce complexity by allowing the same interface to
be used to specify a general class of action. It is the
compiler's job to select the specific action (that is,
method) as it applies to each situation

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / rajkumar

oop has two major components class and object
The oop contain following concepts
1.Abstraction
2.Encapsulation
3.Inheritance
4.polymorphism

Is This Answer Correct ?    1 Yes 0 No

What are the OOPS concepts?..

Answer / s.senthil kumar

class
object
data hidung
data encapsulation
inheritance
operator overloading
message passing

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

what is opps?why it is use in programming language?

2 Answers   Wipro,


whats the difference between c and c++

7 Answers   Syntel,


what is the need of abstraction? what is abstraction?what is the abstraction for stack?

8 Answers   CTS, Verizon,


what is the main difference between c and c++?

386 Answers   AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,


What is the difference between a constructor and a destructor?

0 Answers  






sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....

2 Answers  


What are properties in oop?

0 Answers  


Program to check whether a word is the first word of the sentence.

1 Answers  


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1 Answers  


What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

6 Answers   Wipro,


what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help

1 Answers  


Categories