Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

interface a
{
Method1()
Method2()
}
class b: a
{
override Method1()
override Method2()
}

what will happen & why?

Answer Posted / sandeep joshi

without virtual keyword
cant override method
its error at compile time .....

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Threading Types.

1026


What is the difference between add and addrange in c#?

972


Can you have parameters for static constructors?

908


What is Co- and Contra-Variance in C#?

932


Define method overloading in c#?

939


How to implement an object pool in c#.net.

1016


Where value types are stored in c#?

901


How can you access a private method of a class?

955


What are data types in C#?

944


What is virtual in c#?

853


What is difference between write and writeline in c#?

863


What is the output of TextWriterTraceListener redirected?

1017


What are the different types of constructors in c#?

1102


Why singleton pattern is used in c#?

921


What is better C# or VB.NET?

896