J.P. Morgan Interview Question

Explain OOPS concepts . rules of overriding.