ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What do you mean by multiple inheritance and multilevel
inheritance? Differentiate between them.
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
Answer
# 1
multiple inheritance is the class derived from more than 
one base class & where as coming to multilevel inheritance 
it derives one class to one base class via intermediate 
base class
 
Is This Answer Correct ?    2 Yes 0 No
Ramya
 
  Re: What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
Answer
# 2
Multiple:  ClassA--extends-->ClassB, ClassA--extends--
>ClassC, ClassA--extends-->ClassD class A can Inherit all 
the classes and can have access on all calss' public 
properties and functions.


MultiLevel: ClassA-->ClassB-->ClassC-->ClassD and ClassD 
will have the accesss on all the properties of its upper 
level class like C,B and A
 
Is This Answer Correct ?    2 Yes 0 No
Ravinder Kumar
 
 
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
swapping program does not use third variable  4
What is an object? HCL7
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT. HCL1
Describe what an Interface is and how it?s different from a Class. Spinsys4
Why and when is a virtual destructor needed?  2
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?. IBM8
Why u change company? BOB-Technologies3
what is meant by files? Infosys2
WHY FUCTION OVERLOADING DOSENOT RETURN A RETEN TYPE  1
what are the disadvantages of C++? ATS4
Definition of Object Oriented Programming in single line? TCS14
what is the use of mutable key word HCL2
What is command routing in MFC GE1
what is the difference b/w abstract and interface? Merrill-Lynch1
Have you ever used threads? IBM2
How would you stop a class from class from being derived or inherited. Ness-Technologies7
what is virtual function? Infosys11
In which Scenario you will go for Interface or Abstract Class?  1
what is multithreading in c++ , what is difference between multithreading and singlethreading.  1
Explain the concept of abstracion and encapsulation with one example. What is the difference between them? PCS2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com