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...

write the Syntax for Function or Method Overriding?

Answer Posted / ashish gupta

class base
{
public virtual func()
{
}
}
class derive:base
{
//override the base funcion..signature n return value
// must be same
public override func()
{
}
}

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of the information stored inside the assembly?

1000


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

1724


How to find out that the code is written as managed or un-managed code?

1082


Which namespace is required to implement trace ?

966


What does writeline mean?

977


What is the difference between System.console.WriteLine() and System.console.Write() function?example?

1060


Describe a Struct ?

1035


What is difference between a constant and read-only in C#?

956


Explain the difference between passing parameters by value and passing parameters by reference with an example?

924


What are the Uses of CLR

1220


What is a nested type. Give an example?

1024


Structs are largely redundant in c++. Why does c# have them?

1252


Can derived classes have greater accessibility than their base types?

934


Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

952


Explain the use of Mutex in C#?

1013