Question d’entretien chez IBM

Java code for counting a specific word in a given string.