EY interview question

Overloading and overriding in java