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 does no cap mean?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
class type to basic type conversion
What are the data types in oop?
How do you explain polymorphism?
What is the fundamental idea of oop?
What is polymorphism oop?
What is overloading in oop?
What is the difference between a mixin and inheritance?
What is the difference between procedural programming and oops?
What is the difference between encapsulation and polymorphism?
What is encapsulation with real life example?
Which method cannot be overridden?
Explain virtual inheritance?
What polymorphism means?