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 overloading & overriding

Answers were Sorted based on User's Feedback



what is overloading & overriding..

Answer / vishal shah

Overloading is simply the 2 or more than two functions with
different signatures.

Overriding is related with Polymorphism, where virtual
function declared in base class is override in the derived
class with the same name. And compiler during runtime
decide which function to be called based on the object
(Base Class or Derived Class) used to call this function.

Is This Answer Correct ?    12 Yes 0 No

what is overloading & overriding..

Answer / ashish

Overloading is a concept in OOPS where we have a similar
methods of same name but diferent signature.The return type
may be same or different but the signature has to be
different.It is an example of static polymorphism.

Overriding is a conecpt where we have the same method
(signature and return type) both is child class and parent
class. Now why we have the same method ? You will have that
thing happen when you want to add more funtionalities to a
method corresponding to your child class. This is an
example of runtime polymorphism

Is This Answer Correct ?    7 Yes 0 No

what is overloading & overriding..

Answer / akila

depends upon their parameters and functions only

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Sharp Interview Questions

Is datetime nullable c#?

0 Answers  


Can I use parseint?

0 Answers  


List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.

0 Answers  


Explain about accessibility modifier 'protected internal'?

0 Answers  


What are the examples of data types?

0 Answers  


Explain the types of assemblies in .net?

0 Answers  


Does c# support multiple inheritance (mi)?

0 Answers  


What is difference between iqueryable and ienumerable in c#?

0 Answers  


What is the difference between list and dictionary in c#?

0 Answers  


Can interface have virtual methods in c#?

0 Answers  


List the 5 different access modifiers in c#?

0 Answers  


What are c# collections?

0 Answers  


Categories