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 type of questions
officer say me - i am offered to a smoking , then what can you say
What is overloading in oop?
What is overriding in oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What are constructors in oop?
What is data binding in oops?
What is destructor example?
What is destructor in oop?
#include
What is encapsulation in simple terms?
what is difference between class template and template class?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is encapsulation in oop?
Why do we use oops?