What are the OOPS concepts?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / abitha
basic concepts of oops are
object
class
encapsulatons
polymorphism
inheritance
abstraction
| Is This Answer Correct ? | 2 Yes | 1 No |
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 |
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 |
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 |
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 |
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 |
Answer / s.senthil kumar
class
object
data hidung
data encapsulation
inheritance
operator overloading
message passing
| Is This Answer Correct ? | 1 Yes | 0 No |
what is code for call by value and call by reference?
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
What is difference between class and object with example?
what is new modifier in C#
1. Define a class.
What is pointer in oop?
Can main method override?
Why do we use polymorphism?
Should you protect the global data in threads? Why or why not?
What are the four main oops concepts?
How Do you Code Composition and Aggregation in C++ ?
Which is the parameter that is added to every non-static member function when it is called?