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
How does hashset works in java?
Is null a string?
What do you mean by light weight and heavy weight components?
What is the use of accept () method in java?
What is stack example?
What is the purpose of stub and skeleton?
What is set in java?
What are meta-annotations?
What are the basics of core java?
Name component subclasses that support painting in java programming?
What is a boolean output?
What is a package in java? List down various advantages of packages.
What is a bufferedreader?
Which command from the jdk compiles a java program?
Why arraylist is used in java?