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
Explain the components of common language runtime.
What is the difference between convert.tostring and .tostring() method?
List the types of generations in garbage collector?
What are the various open source tool available for VB.NET?
described weak typing?
What is multiple form in vb?
What is an assembly and its use?
Explain the difference between int and int32?
Explain and brief about rapid application development tool?
Explain namespace?
Explain the difference between web.config and machine.config and where it will be ?
What do you mean by serialization?
What is the differnce between managed code and unmanaged code?
difference between control and component more than one differences
Define manifest?