Answer Posted / pinki
Overloading methods
1.They appear in the same class or a subclass
2.They have the same name but, have different parameter
lists, and can have different return types.
An example of an overloaded method is print() in the
java.io.PrintStream class
Overriding methods
It allows a subclass to re-define a method it inherits from
it's superclass
overriding methods:
1. It appears in subclasses
2. They have the same name as a superclass method
3. They have the same parameter list as a superclass method
4. They have the same return type as as a superclass method
5. They have the access modifier for the overriding method
may not be more restrictive than the access modifier of the
superclass method
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how we can fire event in databound column in datagrid without using button?
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
What is the cli? Is it the same as the clr?
What is the mesi? : .NET Architecture
What is a managed code? : Dot net architecture
How does .net remoting work?
Explain pipelining? : .NET Architecture
difference between Response.write,server.transfer and also which one is used when ?
Define cache coherency? : Dot net architecture
Explain Singleton design pattern in .net
What is .net mobile lists. : Microsoft dot net mobile
What is the difference between metadata and menifest ?
What is ILDASM ?
How cache is used? : Dot net architecture
Different types of authentication modes in .net framework ?