What is the Difference between Overriding and overloading?
Answer Posted / m.usama
Overloading:
1.Methods having same name with different number of
parameters or different data type with same number of
parameter..
2. It is possible that overloading in inheritance..
Overriding:
1.The method in the derived class the has the
same name and same parameters in the base class and it
changes the behavior or functionality of the method in the
derived class,with overriding single reference of method is
created in memory of override function ..
2. Must be public.
3. possible in inheritance.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain how does the xmlserializer work?
Name some of the keywords used in vb.net?
What is an application domain? how they get created?
How do you use two datareaders at the same time in a vb.net windows application ?
How do you define a read only property in a class module?
How many ways the function can return values?
Explain the difference between dispose and finalize()?
What is the difference between convert.tostring and .tostring() method?
Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate
Explain global assembly cache (gac)?
What are all the differences between dispose and finalize()?
What is static member?
Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.
Is vb.net a programming language?
Explain the use of option explicit?