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

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

950


What is branching logic control in VB.NET?

1030


Name and explain some of the exclusive features which are present in vb?

1008


What are the features present in vb 2005?

1094


What is the maximum size of the textbox?

1038


Explain trace in vb.net?

1037


What is a preprocessor directive in vb.net?

1034


How to create a constant in vb.net?

1247


Explain about jagged arrarys ?

961


Define manifest?

1027


So you know which dll is used for microsoft .net run time?

1019


What are the differences between c# and visual basic.net?

1108


Explain the difference between web.config and machine.config and where it will be ?

982


What are the features of c# which are not present in vb.net?

1166


What are different types of jit ?

1127