Example for 4 pillar of oops like,
Inheritance,Poly,Abstraction,Encabsulation ?
Answers were Sorted based on User's Feedback
INHERITANCE:It is a process through which one class
accuries the properties of another class.
ENCAPSULATION:It is a mechanisim through which we can bind
data and code in a single unit and it privents to access
out side of the world.
POLYMORPHISM:Ability to take more than one form.
ABSTRACTION:It focous the assiential characteristics of an
object.
| Is This Answer Correct ? | 42 Yes | 2 No |
Answer / sanjeevkumar.v
data hiding,
INHERITANCE-- aquring base class property to derived class
POlYMORPHISM-- defferent form of functions
ENCAPSULATION-the wrapping of data is a single unit is
called as encapsulation
abstraction--the grouping of data is abstraction
| Is This Answer Correct ? | 23 Yes | 6 No |
Answer / sikendar
Inheritance is nothing but,it is mechanism of driving a new class from base class.
| Is This Answer Correct ? | 13 Yes | 7 No |
Why multiple inheritance is not possible?
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?
How to create a comment page in C #??
What is overloading in oops?
What is multiple inheritance ?
17 Answers Blue Star, C DAC, CDAC, Impetus, Ness Technologies, Softvision Solution,
what are abstract classes and how they impliment , with example
How to use CMutex, CSemaphore in VC++ MFC
How is class defined?
what is the application of oops?
What is difference between pop and oop?
WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.