I am new to java programming and i have the following task: All words of the input length must be replaced by a input word. The length can be different. I have tried this way bu