Question d’entretien chez Infosys

Split the given string into three parts. java program