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 |
How to hide the base class functionality in Inheritance?
Program to read a comment string
What is destructor oops?
is there any choice in opting subjects like 4 out of 7
Write an operator overloading program to write S3+=S2.
write a C++ program for booking using constructor and destructor.
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.
why function overloading is not called as pure polymorphism?
why freind function takes more parameter than normal member function in c++?
Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??
What are the advantages of inheritance?
26 Answers IBS, TCS,
define oops with class and object