what is overloading & overriding
Answers were Sorted based on User's Feedback
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 |
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's your approach to fetch static data in your windows form application?
What is assembly and dll in c#?
What is Assembly. and Describe type of assembly. why most developer happy with private assembly.
C Sharp
What is a thread? What is multithreading?
What is the difference between continue and break statement?
What?s the difference between an interface and abstract class?
Explain the types of assemblies in .net?
How does split work in c#?
What is ispostback c#?
Are tuples mutable c#?
What does void do in unity?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)