What are the OOPS concepts?
Answer Posted / 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 |
Post New Answer View All Answers
What are the three parts of a simple empty class?
Can bst contain duplicates?
What is the significance of classes in oop?
What is destructor give example?
What are the 4 pillars of oop?
What is multilevel inheritance in oop?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is a class oop?
what is different between oops and c++
Why do we use class?
What is the benefit of oop?
to find out the minimum of two integer number of two different classes using friend function
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is oops concept with example?