Distinguish method overloading and method overriding
Answer Posted / sagar.rds
Method overloading is compile time polymorphism and method
over riding is Runtime polymorphism.Method oveloading is
having same name and different parameters and different
return type also.Method overriding same name with same
parameters and having same return type
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What are meta-annotations?
What are recursive functions? Give some examples?
What is the difference between super class & sub class?
Can we pass a primitive type by reference in java? How
What is final method?
What is string example?
What are the five major types of reference sources?
Explain the different forms of polymorphism?
What is difference between float and double?
How do you use spaces in java?
What does replaceall do in java?
How do you sort objects in java?
What is the size of an array?
What are different data structures in java?
What are parsers? Dom vs sax parser.