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 / madhu nagidi

//Below is syntax for function
function test_func()
{

}

//Below is syntax for Method Overriding

Class JJ
{
Test_method(string a, string b)
{
a="Google";
}
}
class MM : JJ
{
Test_method(string a, string b)
{
a = "Micorsoft";
}
}
//Here overriding the functionality of the method which is
in Base Class.

Is This Answer Correct ?    1 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can list contain duplicates c#?

833


Which control cannot be placed in mdi?

938


What is the difference between throw and throw ex?

825


What is meaning of type safety in c#?

805


What is string method in c#?

863


Define parsing? Explain how to parse a datetime string?

924


What is serialization in c#?

857


Name some string escape sequences in c#.

997


What is the use of iqueryable in c#?

847


Does a class need a constructor c#?

864


What is the use of 'using' statement in c#?

879


What are escape sequences explain with example?

909


Give an example of removing an element from the queue?

896


Explain when should you call the garbage collector in .net?

874


How main method is called in c#?

911