Example & Tutorial understanding programming in easy ways.

What restrictions are placed on method overriding?

The following restrictions for  method overriding

Overridden methods must have the same name, argument list, and return type.
The overriding method may not limit the access of the method it overrides. Methods may be overridden to be more public, not more private.
The overriding method may not throw any exceptions that may not be thrown by the overridden method. 

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!