Please keep it simple,Use only the notes above, do the following :1. Complete the method numWords() that accepts a string and returns the number of words in the string.2. Complete the method getLastWord() that accepts a string and returns the last word in the...