What is the definition of override?
"Over ride" or "override" can mean somewhat things in different contexts. Most commonly, it means to counteract the normal operation of an automatic process.
to override a method present in super class/ interface, u can extend the class/ implement the interface and define that particular method with the same method signature and same or rarer checked exceptions. The definition of this overridden method can be specialized to achieve the specific behavior in the subclass.