Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the restrictions when we override a method?

user-image
Question added by himanshu mittal
Date Posted: 2013/06/27

1.same access specifier or wider access specifier2.in the case of primitive data type as return type we keep same return type if reference type we can keep any one3.no of arguments are equal and same datatypes4.we can't throw new checked exceptions are super class exception

More Questions Like This