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   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
About multi level and multiple inheritance how to achieve in
.net ?
 Question Submitted By :: Deepa
I also faced this Question!!     Rank Answer Posted By  
 
  Re: About multi level and multiple inheritance how to achieve in .net ?
Answer
# 1
.net supports directly to the multi level 
inheritance.but .net doesnot support the multiple 
inheritance directly instead of that we use interface used.

for example,multilevel inheritance

class a 
{
 -----
 -----
 -----
}

class b : a
{
 -----
 -----
 -----
}

class c : b
{
 ----
 ----
 ----
}

multiple inheritance - interface
--------------------------------
interface a
{
 -----
 -----
 -----
}
 
Is This Answer Correct ?    3 Yes 0 No
Senthil Kumar
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
can it possible to acees the virthual method using the override method object? plz give me the example  2
can we access main() using objects? ssinformatics1
When you inherit a protected class-level variable, who is it available to? Visual-Soft2
What are properties and indexer? TCS2
Which is the best way for keeping the data in XML or SQL server..and why? Infosys8
What is difference between interface inheritance and class inheritance ? Digital-GlobalSoft5
What namespaces are necessary to create a localized application?  2
Where is the output of TextWriterTraceListener redirected?  1
What namespaces are necessary to create a localized application? Visual-Soft2
what is application domain? Kanbay3
Explain manifest & metadata. Wipro2
C# is case sensitive, what is mean by case sensitive  3
can u tell me any one steps for creatting sn.k  2
Why is it a bad idea to throw your own exceptions?  3
What is the Main difference between String and StringBuilder and why do we use StringBuilder. Siemens7
Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA } Proteans2
Which type of variables are under the control of garbage collector? Kanbay3
can we assign null value to value type in c#? Microsoft10
Indexers in c#? Microsoft7
How do you inherit from a class in C#?  1
 
For more C Sharp 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