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 is r * in math?
Is null an object in java?
What is a methodologist?
What is the dot operator?
Can we assign the reference to this variable?
How do you compare characters in java?
What is the final keyword denotes?
What is synchronization and why is it important in java programming?
which class is the wait() method defined in? : Java thread
What is runtime polymorphism or dynamic method dispatch?
Explain the difference between an object-oriented programming language and object-based programming language?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What is assembly used for?
What is user defined exception in Java?
What do you mean by a JVM?