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
Why should you use delegate?
What do you understand by vb.net?
What is the use of errorprovider control?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently
Define clr?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
Explain the services provided by common language infrastructure.
Explain how to store decimal data in .net?
What are the different variables in vb.net?
how to get dynamic control array position or its index position?
What is the difference between custom control and user control?
How do you retrieve the customized properties of a .net application from xml .config file?
Explain how the .net framework performs automatic memory management.
How would you implement inheritance using vb.net?
What is the advantages of VB.NET?