Java · Medium · ProWhat are the rules of method overriding (return type, access modifiers, exceptions)?JavaOOPPolymorphism