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
What is the significance of delegates. Where should they be used? What are the situations where we require them?
How to view an assembly?
write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.
So you know which dll is used for microsoft .net run time?
What do you mean by deserialization?
Explain about visual basic.net?
What are the technology areas that microsoft.net contains?
How to store decimal data in .net?
What is jagged array in vb.net?
What do you mean by Redim in VB.NET?
Explain an assembly and its use?
What is the difference between manifest and metadata?
Explain about globalization?
How can we store decimal data in .net?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently