Thank you, I will look into that, and I'm making my first Java program, that's what I need help with, but its fixed now, so thank you!
Type: Posts; User: tyb97
Thank you, I will look into that, and I'm making my first Java program, that's what I need help with, but its fixed now, so thank you!
Yes, Yes I have. But I do have one last question, I plan to show this program to kids a school, but the java version on the computers at our school have jre 1.5... Would It be compatible?
Thanks for the help guys, but your are allowed to switch on a string, my real problem was my IDE was outta date :/ so it always came back at me with an error, when there was no error at all..
Ok I tried char, her is my code
import java.util.Scanner;
public class Text_Test {
/**
* Author Tyler
*/
public static void main(String[] args) {
Anything typed from a - z, but how would I make it to where I can type it, and get an answer? I have always used switch statements but those only work with int types.
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,
...