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 |
plz tell me which books r important for gate exam (CSE)
what is the quantity of cement and sand in 1 sq.m (mortar ratio ) a, 1:4 b, 1:3 c, 1:6
what is putchar() and getchar()?????
what is the effect of low frequency(say 48Hz) on TUrbo- Generator set when running for a prolonged period?
10. Each alphabet stands for one digit in the following multiplication. T H I S x I S --------- X F X X X X U X ------------ X X N X X ------------ What is the maximum value T can take?
4 Answers eLitmus, Infosys, Verchaska,
Please explain me gsm call scenario for a prepaid roamer calling to a prepaid roamer?
PLEASE SEND ME NIC SCIENTIFIC OFFICER-2009 EXAM PATTERN AND QUESTION PAPERS
CAN ANYBODY CAN SEND ME HEWITT PLACEMENT PAPERS(APTITUDE AND TECHNICAL).
31 Answers Ericsson, Hewitt, TCS,
Why does the 'divisibility by 3' rule work?
A character set has 1 and 2 byte characters. One byte characters have 0 as the first bit. You just keep accumulating the characters in a buffer. Suppose at some point the user types a backspace, how can you remove the character efficiently. (Note: You cant store the last character typed because the user can type in arbitrarily many backspaces)
Hi my dears I have 2 questions. 1- how many types of test are there at all? 2- how can I define test characteristics (such as test duration and parameter severity)in developing a modern technological equipment? I tanks you for introducing or sending a text handbook or guidebook file for me. thanks for your coming answers. yours sincerely
what is the difference between oracle 8i and 9i. if someone could help me out.
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)