What are the OOPS concepts?
Answers were Sorted based on User's Feedback
Answer / vishanshu soni
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 defined as the separation of unnecessary
details or explanation from system requirments so as to
reduce the complexities of understanding requirments.
4. ENCAPSULATION:
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 ? | 0 Yes | 0 No |
Answer / s.kalaivanan
Polymorphism,
ihheritance,
encapulation,
abstraction,
The above are the 4 main concept of the oops
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramanji m.tech
1.objects
2.classes
3.data abstrtaction
4.data encapsulation
5.inheritance.
6.polymorphism.
7.msg passing
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rakesh
class,
Object,
data abstract and encapsulation
polymorphism,
inheritance,
overloading
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / razz
There are only five concepts in the oops others may be
derived from those:
1. Encapsulation and Data Abstraction
2. Polymorphism
3. Dynamic Binding
4. Message Passing
5. Inheritance
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / e.ramya
*objects
*classes
*inheritance
*polymorphism
*dynamic binding
*message communication
*Data abstraction
*Data encapsulaion
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anusha
abstraction
encapsulation
polymorphisim
inheritence
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashish
OOPS is the object oriented programming,which connect object to the real world entity. basically it depends on 4 concept.
1. Abstraction.
2. Encapsulation.
3. Polymorphism.
4. Inheritance.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / varsha patel
OOPs concepts are
1)object
2)class
3)encapsulation
4)abstraction
5)polymorphism
6)inheritance
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vaibhav munde
Object oriented programming organizes a program around it's
data i.e objects and a set of well defined interface to
that data. An Object-oriented program can be characterized
as data controlling access to code.
OOPs concepts are
1)object
2)class
3)encapsulation
4)abstraction
5)polymorphism
6)inheritance
7)message passing
8)dynamic binding
These all are partially supported by c++,java supports
all the above features
Is This Answer Correct ? | 0 Yes | 0 No |
What are the four main oops concepts?
what is the realstic modeling?
What is destructor give example?
what is the difference between class and object?
What do you mean by Encapsulation?
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
Why multiple inheritance is not allowed?
Why polymorphism is used in oops?
What is the difference between class and structure?
What type of loop is a for loop?
What is a scope resolution operator?
which is platform independent device used in computers