Question: I have so far only learned about the following : class, method, statement, assignment statement, string, double, int, println, printf, do not use any other
I have so far only learned about the following :
class, method, statement, assignment statement, string, double, int, println, printf,
do not use any other names, methods or operation to complete this question. your coding has to be limited to these following mentioned above. Thanks. 
errors, 100% Start over - 2. Complete this program so that it prints the given word with the first and last character interchanged. For example, if word is tool, then produce loot". Words.java 2 import java.util.Scanner; public class Words 5 6 public static void main(String[] args) 7 8 Scanner in = new Scanner(System.in); 9 String word = in.next(); 10 11 System.out.println(word); 12 } 13 }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
