Answer Posted / muniba
hirerical means that is a tree like
for e.g
class A
{
//some data and methods
};
class B:class A
{
//some data and methods
};
class C:class B
{
//some data and methods
};
and hirerical inheritance is that inheritance which is a
tree like
grandfather
^
|
father
^
|
son
;)
| Is This Answer Correct ? | 38 Yes | 83 No |
Post New Answer View All Answers
What is the types of inheritance?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
write string class as your own class in java without using any built-in function
What is static modifier?
Why do we need polymorphism in c#?
why reinterpret cast is considered dangerous?
Why do we use polymorphism in oops?
Write a program to sort the number with different sorts in one program ??
How to hide the base class functionality in Inheritance?
Can enum be null?
What is difference between abstraction and encapsulation?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is an advantage of polymorphism?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).