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 / rakesh
Overloading class has different returntype.
overloading comes with in class but overriding comes in two
classes.
Overloading is resolved at compiletime
Overriding is resolved at runtime.
| Is This Answer Correct ? | 39 Yes | 18 No |
Post New Answer View All Answers
Is 0 true or false in java?
What is t in generics in java?
How can you make a class serializable in java?
Does constructor return any value?
What is method reference?
What is a java developer salary?
What is the integer of 16?
What is the difference between double and float variables in java?
What is difference between classpath and path variables in java?
How do you define a set in java?
What is the use of jtable?
What is the final blank variable?
Can static method access instance variables ?
What is struts in java?
How can an object be unreferenced?