how can i inharit multiple classes?

Answers were Sorted based on User's Feedback



how can i inharit multiple classes?..

Answer / ajith krishnan

use intefaces...cool

Is This Answer Correct ?    11 Yes 1 No

how can i inharit multiple classes?..

Answer / rajkumar

.net framework does not support multiple inheritance so should ascertain this to ur interviewer

Is This Answer Correct ?    3 Yes 0 No

how can i inharit multiple classes?..

Answer / ratnesh

If u want to multiple inheritance via classes then u can do
this ..

class A
{
Method1(){}
}

class B:A
{
Method2(){}
}


And now create third class suppose C and Inherit it from
class B.Now class C have both methods Method1 of A and
Method2 of B.

class C:B
{

}

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Define reflection in .net?

0 Answers  


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

0 Answers  


How can we apply themes to an asp.net application?

0 Answers  


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

0 Answers  


Where can i get Latest Microsoft .Net Certification Dumps & what Types of .Net Certifications are there?

2 Answers   Protech,






How to you can limit Access to Web API to Specific HTTP Verb?

0 Answers  


What is css in asp.net?

0 Answers  


what are the application layers for a distribute application?

0 Answers   Mind Tree,


What is server side session management?

0 Answers  


Where web.config file is used?

0 Answers   HCL,


Which adapter should you use, if you want to get the data from an access database?

0 Answers  


What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.

3 Answers   Syntax Softtech,


Categories