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 / ganga
using same methodname with different signatures is known as
overloading where as
changing the definition of the parentclass in chidclass is
known as overridding.
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
What restrictions are placed on method overloading in java programming?
What is a control variable example?
What are data structures in java?
What is the purpose of the strictfp keyword?
Can we extend singleton class?
What is the main difference between java platform and other platforms?
How does map works in java?
Difference between a process and a program?
What is collection api?
what is collatration?
How do you add an element to an arraylist in java?
Is vector ordered in java?
What are different types of encoding?
What is a newline character in java?
What is array size in java?