Answer Posted / mohit k kanani
Hierarchical Inheritance
class kar (base class)
{
}
class moh:public kar (derive class of kar and base class of
leo class)
{
}
class rip:public kar (derive class of kar and base class of
leo class
{
}
class leo:public moh,public rip (derive class of moh class
& rip class)
{
}
| Is This Answer Correct ? | 23 Yes | 8 No |
Post New Answer View All Answers
What is new keyword in oops?
How Do you Code Composition and Aggregation in C++ ?
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.
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Is oop better than procedural?
what is the drawback of classical methods in oops?
How do you answer polymorphism?
What is ambiguity in inheritance?
Prepare me a program for the animation of train
What is the fundamental idea of oop?
How many human genes are polymorphic?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is constructor in oop?
What is object in oops?
What is persistence in oop?