Ok, my problem is you cannot declare a switch with the type string or char, so how do I make it to where I type a letter, and it will display "Test complete" here is the code I have constructed,
How will I make this work?import java.util.Scanner; public class Text_Test { /** * Author Tyler */ public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); System.out.println("Type Some Letters..."); String Letters = keyboard.toString(); switch(Letters) { default: System.out.println("Test Completed"); } } }