GE Digital interview question

Java OOPs concept Java strings function overloading vs Overriding Spring configuation