IBM interview question

mehod over loading,strings