what is inheritance
Answers were Sorted based on User's Feedback
inheritance is one of the property of OOP's(Object Oriented
Programming)by using this a class can take the feature of
another one and can add own feature also .
class which take the feature is known as
the "CHILD",or "DERIVED" class . And from which it takes
the feature is known as the "PARENT",or "BASE" class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vidhun
object of one class acquires the properties of objeects of
another class
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / siva
inheritance is process of creating a new class from
existing class
base------->derived class
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nupur dhawan
Inheritance as the word implies to inherit or we can say
adopting the properties of parent by a child likewise a
child adopts the properties of their parents in the same
way in java or other Programming Language if a child class
adopts the properties of the parent class then it is simply
called as INHERITANCE.
here the child class can used the methods build in parent
class & can create his additional methods.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rahul_kumar007
it means " we've 2 class class a,class b
with the help of class b we can inherit property of class a.
as follow:-
class a{
private:
----
------
public:
----};
class a:public b{
------
};
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / amit
Check the Following link..
<a
href=http://www.allinterview.com/showanswers/1914>Inheritence</a
>
| Is This Answer Correct ? | 0 Yes | 2 No |
A. Compare the advantages and disadvantages of a three- dimensional monitor using a varifocal mirror with a stereoscopic system. B. Write a routine to implement the polymarker function.
CSS corp interview process and placement papers
what does the interviewer mean by saying "have a good life " cheerfully at the end of an HR interview??? is this positive or negative sign to be selected?
What Are Choosed Seminar's Best Topic..? What Are Dezined Software...?
pls send me rrb se(s&t)questions
I am having 17 months experience in development.I want to take testing as my career.I dont have experience in testing. Will get job anywhere?
HOW WE CAN CORRELATE THE MA\ECHANICAL POWER TO ELECTRICAL POWER. SUPPOSE IF I WANT A PUMP OF PUMPIG 200 LPM AT 20 METER HEAD MENAS WHAT IS THE POWER NEEDED FOR PUMP IN ELECTRCAL AND HOW CAN WE GET IT
what is the difference between VARCHAR and VARCHAR2?
my pc frequently rebooted on normal windows xp mode, but didnot rebooted on safemode, its works no rebooting. what problem this, pls solution.
Explain the concept of segmentaion.
please send me latest Aptitude Test paper
what is the maximum load for MDB, SMDB & DB
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)