What restrictions are placed on method overloading and
method overriding?
Answer Posted / shamik
@ above one correction ...
the return type of overriding method can be a subtype of the type returned in the overridden method .It need not be exactly same .
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is <> used for in java?
Can we assign the reference to this variable?
What steps are taken when the OS shifts from one-thread execution to another?
What language is pass by reference?
What are checked exceptions?
Can an unreferenced object be referenced again?
What are the access modifiers in java?
How many types of exception can occur in a java program?
What is null data type?
Discuss 2D arrays.
What do you understand by a Static Variable?
When is the arraystoreexception thrown?
What function extracts specified characters from a string?
Describe the various concepts related to object oriented programming (oop).
Why is inheritance used in java?