what is inheritance

Answers were Sorted based on User's Feedback



what is inheritance ..

Answer / kaswa

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

what is inheritance ..

Answer / vidhun

object of one class acquires the properties of objeects of
another class

Is This Answer Correct ?    1 Yes 0 No

what is inheritance ..

Answer / siva

inheritance is process of creating a new class from
existing class
base------->derived class

Is This Answer Correct ?    1 Yes 0 No

what is inheritance ..

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

what is inheritance ..

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

what is inheritance ..

Answer / amit

Check the Following link..

<a
href=http://www.allinterview.com/showanswers/1914>Inheritence</a
>

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Engineering AllOther Interview Questions

What will be the output of the following program : void main() { int a,b,c; scanf("%1d %2d %3d",&a,&b,&c); printf("Sum=%d",a+b+c); } [NOTE : THE USER INPUT IS :123456 44 544] (a)Sum=480 (b)Sum=594 (c)Sum=589 (d)None of these

2 Answers  


I m doing btech with computerscience branch.For every campus placement eligibilty criteriais is 60%.I have 65% in highschool and b.tech till now but secured 59.6% in intermediate. So would this percentage b considered as 60% or i wont b able to sit in exams?kindly post your views?

0 Answers   Infosys,


why this companay? For example: Why Dell?

1 Answers   DELL,


Given a number (N), program to check whether its binary form has periodic or not

0 Answers  


How do trains go around bends?

0 Answers  






how to write regression test case?what is the difference between Client server & web based Testing? can we able to do UI Testing in web based Testing

0 Answers  


Sketch a velocity time graph for a skydiver jumping out of a plane.

0 Answers  


Proove it 3+4=5

2 Answers  


Write a program to print Pattern 1) If user enters 3 1 2*3 4*5*6 4*5*6 2*3 1 2) If user enters 4 1 2*3 4*5*6 7*8*9*10 7*8*9*10 4*5*6 2*3 1

0 Answers   Amdocs,


gsm features

0 Answers  


Write a nonrecursive routine to reverse a singly linked list in O(N) time.

0 Answers   IIIT, TCS,


how to reuse an outdated laptop?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • Electrical Engineering Interview Questions Electrical Engineering (16636)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)