posted 22 years ago
here is an answer that was to today's question at examulator... i have an issue with number 4.
1) To be overridden a method must have the same name, parameter types and return type.
To be overriden the return type does matter
3) classes that are marked as final may not be overriden
4) an overriding method cannot have more access (be more public) than the method being overriden
... what's that again? i thought that an overriding method HAD to have more public or equal access than the overridden method?