What is the Difference between Overriding and overloading?
Answer Posted / sudesh sangwan
overriding:in overriding is done in inheritance,we having same method name as in base class and having same signature.
it is resolved at run time.
overloading:
in overloading we have many method with same name but different parameter.
it is resolved at compile time.
eg:
int add(int a,int b)
int add(float a,float b)
int add (string a,string b)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the advantages of vb.net?
Compare c# and visual basic.net?
Can you please explain the difference between authentication and authorization?
What is code security?
Described strong typing
Name some of the features present in vb 2005?
What are option strict and option explicit?
What is the use of assembly?
Why is the xml infoset specification different from the xml dom?
Explain what observations between vb.net and vc#.net?
What’s the difference between private and shared assembly?
What is strong typing and weak typing?
What are the different types of a stream?
What is strong name in .net assembly?
Define cls?