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

What is the Difference between Overriding and overloading?

Answer Posted / nazrul

overriding->
1) method should be public.
2)it need inheritance.
3)it need virtual keyword before it declartion.
4)it have same name with same parameter in diffrent class.
5)it require non-static method.
6)method should have same datatype.
Overloading->
1)method can be different access speicifier.
2)it doesn't need inheritacne.
3)all method should be in same class.
4)method can have diffrent datatypes

Is This Answer Correct ?    88 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the two main parts of .net?

1079


What is the Advantage of vb.net over vb

1006


what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.

1041


What is the importance of a Button control?

1312


What is the difference between Namespace and Assembly?

1149


Can you please explain the difference between c# and vb.net?

1066


What is private assembly?

955


Define naming convention?

1019


Explain global assembly cache (gac)?

1164


What keyword is used to accept a variable number of parameter in a method?

1025


How to store decimal data in .net?

1106


i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate

2353


Explain how can we remove handlers at run time?

1010


Can you please explain the difference between int and int32?

1086


What are the different variables in vb.net?

972