Amdocs interview question

Method overloading and overriding Design Patterns String Class