ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Rules for overriding ?

Argument  list must match exactly
return type must be same
access level cant be more restrictive
access level can be less restrictive
overriding method can throw any unchecked exceptions
overriding method cant throw any checked exceptions that is newer/broader
can throw fewer/narrower checked exceptions
we cant override a method marked as final
cant override a static method
if a method cant be inherited ,u cant override it
occurs in different classes
Related Posts Plugin for WordPress, Blogger...
Flag Counter