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 |
what does complexity means in an algorithim?? how it is calcutaed?
i want to do oracle certification..could any one pleas tell me what is the level 1 certification exam in oracle? how do we get dumps?
some of the general knowledge questions were asked Which part of the eye is transplanted ? a) cornea b) retina c) whole eye
What are saw filters used for?
What's the range of C/A?
what is buffer solution?
Email bombing is
what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?
What are the benefits of using interface accept multiple inheritance concept?
what is the differance between a technology and an engineering ?
what is the channel capacity of a band-limited gaussian channel? is it is blog2(1+s/n) or not? if not what?
Who is responsible for PLLs?