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

How does asp page work?

0 Answers  


What is the maximum timeout we can set for Cookies?

0 Answers  


What are cao and sao.

0 Answers  


if u r projet consist of 4 people means how can u manage the file

10 Answers   Mind Tree,


Can we store PROGID information in database and dynamically load the component ?

1 Answers   Digital GlobalSoft, e4e,


Difference between ASP & ASP.NET Session State

1 Answers   Cognizant, Wipro,


What is asp.net version?

0 Answers  


Can you use Web API with ASP.NET Web Form?

0 Answers  


Write a code for passing ArrayList in Web API?

0 Answers  


In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?

5 Answers   Syntax Softtech, TCS,


what is webservices. howit is use in our project .

4 Answers   TCS,


Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designing the selction option using radio button. So, I want to retrive the data from the database to the radiobutton option. And also please tell me the how to compare the correct answer option with Answer selected by the users. If any body knows or have done this before please Help me out. My mail id is get_rome@yahoo.co.in. Table format: Question Id Queston Option1 Option 2 Option 3 Option 4 Correct answer 1 What is ur name? My name is ….. My name …. My name …. My name …. My name is tom

4 Answers  


Categories