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 are the difference between dispose(), close(), exit(), end()? When do we use them?
Explain about delegate?
What do you mean by serialization and deserialization?
What do you mean by serialization?
Explain and brief about rapid application development tool?
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.
What is a preprocessor directive in vb.net?
Explain the difference between vb.net and c#, related to oops concepts?
Can you please explain the difference between thread and process?
What is DLL HELL in VB.NET
What are the features present in vb 2005?
What is trace in vb.net?
Explain the difference between import system.data.sqlclient and system.data.oledb?
what is difference between namespace and assembly?
Explain enumerator?