What is the Difference between Overriding and overloading?
Answer Posted / prachee
overloading has same method but different types of
parameters, number of parameters.
overloading does not take return type to differentiate
overloaded method.
ex:
int add(int a, int b)
int add(float a , float b)
are overloaded methods
overriding comes with inheritance concept.
here parent and child both contains the same method. and
when execution takes place; child's method is called.
| Is This Answer Correct ? | 124 Yes | 14 No |
Post New Answer View All Answers
difference between checkbox vs radiobutton??
described weak typing?
Name some different types of control?
What would you do to remove microsoft visual basic name space?
Name the class which allows an element to be accessed using unique key?
What are all the differences between dispose and finalize()?
Explain jit?
what is intermediate language?
What is the use of assembly?
What is the use of console application?
Observations between vb.net and vc#.net?
How does vb.net achieve polymorphism?
What are jagged arrays ?
Explain the advantages of vb.net?
Explain namespace?