Difference between overloading and Overriding. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang>
Answer Posted / mariyappan
overloading is the process of defining the same function
with different parameters.which can be defined within class.
overriding is the process of defining the function name in
the more than one classes.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What data structures are used to perform recursion?
What is the point of polymorphism java?
How many types of parsers are there?
Explain super keyword in java.
What is a private class in java?
What is the final class modifier?
What is meant by class and object in java?
What is dynamic array in java?
What is dot operator?
Why does java not support pointers?
What is double in java?
What is keyword and identifier?
What does @override mean?
What are the methods available in a class?
Describe the process as to how substring() methodology mechanisms in java.