Method Overloading Java Interview Coding Question