Question: Java 4. Write a program that reads a word as input from the keyboard and outputs each character in the word separated by a space.
Java

4. Write a program that reads a word as input from the keyboard and outputs each character in the word separated by a space. (use the substring method in a loop) 4.a (bonus- 5 points) Write another program to do the same thing using the charAt method instead of substring
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
