What is the Difference between Overriding and overloading?
Answer Posted / nazrul
overriding->
1) method should be public.
2)it need inheritance.
3)it need virtual keyword before it declartion.
4)it have same name with same parameter in diffrent class.
5)it require non-static method.
6)method should have same datatype.
Overloading->
1)method can be different access speicifier.
2)it doesn't need inheritacne.
3)all method should be in same class.
4)method can have diffrent datatypes
Is This Answer Correct ? | 88 Yes | 8 No |
Post New Answer View All Answers
What are the difference between structure and class?
What is jagged array in vb.net?
What do you understand by vb.net?
Explain clr?
Can you please explain the difference between thread and process?
Can you please explain the difference between int and int32?
Why do you need Lock in Visual Basic?
What is the exact defination of object?
What is early binding?
What is the advantages of VB.NET?
What is the difference between convert.tostring and .tostring() method?
What would you do to remove microsoft visual basic name space?
What is branching logic control in VB.NET?
What is a literal control?
What is the use of console application?