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 / arthi
overloading means same method name but different parameters
are passed but overriding means same method name with same
parameters passed in different classes.
Is This Answer Correct ? | 40 Yes | 8 No |
Post New Answer View All Answers
Is array dynamic in java?
What is a instance variable?
What is the difference between hashmap and hashtable? What is an interface?
Can a final variable be null?
How does finally block differ from finalize() method?
Difference between character constant and string constant in java ?
What is the full meaning of java?
When do we use hashset over treeset?
What is difference between char array and string?
What is the use of keywords in java?
Explain differences between checked and unchecked exceptions in java?
What is a vararg?
What is string intern in java?
What data type is string java?
What is Major and importance difference between for and foreach loop ?