Ingram Micro interview question

How does overriding methods work in Java?