ALLInterview.com :: Home Page Forum9.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   interview questions urls   External Links  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 is the Advantage of Interface over the Inheritance in 
OOPS?
 Question Submitted By :: Phani Kumar S
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the Advantage of Interface over the Inheritance in OOPS?
Answer
# 1
1. Provides flexibility in implementing the operations for 
the derived classes.

2. Avoid conflicts when more than one interfaces are 
derived in a class.

I will club some more later...
 
Is This Answer Correct ?    1 Yes 0 No
Mms Zubeir
 
  Re: What is the Advantage of Interface over the Inheritance in OOPS?
Answer
# 2
1)Interface totally keeps away that implementation 
knowledge from client.
2)It supports us to change their behaviour dynamically.It 
means that, it will act depends on dynamic specilization(or 
substitution).
3)This gives very good abstraction about the object to 
client.
4)It avoids client broken, even developer made some changes 
on implimentation or add new specilization(new 
implementation).
5)So it gives open way to extend and implementation.
 
Is This Answer Correct ?    1 Yes 0 No
Iyappan_protech
 
 
 
 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
write a program for function overloading?  4
what is multi level inheritance give n example ? Ness-Technologies2
What is encapsulation? TCS7
How is exception handling carried out in c++?  1
what is object slicing? Wipro4
What are generic functions and generic classes?  2
What are the different forms of polymorphism?? PCS5
What is Agile methodology? Inmar2
Which is the parameter that is added to every non-static member function when it is called?  3
What is a mixin class?  3
what is virtual function? Infosys11
what is the difference b/w abstract and interface? Merrill-Lynch1
When is an object created and what is its lifetime? IBM1
What is the difference between class and structure?  3
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.  2
swapping program does not use third variable  4
What is Dynamic Polymorphism?  6
What is virtual constructors/destructors?  3
What is function overloading and operator overloading?  2
Which is the only operator in C++ which can be overloaded but NOT inherited?  3
 
For more OOPS Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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