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 string a class in java?
What method is used to specify a container's layout in java programming?
What is the difference between Java1.4 and Java1.5
What is java regex?
How do you include a string in java?
What is the benefit of lambda expressions?
How does list work in java?
What is :: operator in java 8?
Why do we need strings in java?
What is the difference between stored procedure & function?
What is re-factoring in software?
What is the numeric promotion?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What are different access specifiers in java? Explain
hr interview how many minutes asking question