import java.io.*; public class State { static BufferedReader keyboard = new BufferedReader (new InputStreamReader (System.in)); public static void main (String[] args) throws IOException { String state; // ask the user where they're from System.out.print ("What state are you from? "); state = keyboard.readLine(); // print a friendly message System.out.println (state + " is a lovely place."); if (state.equals ("Kansas") || state.equals("kansas")) { System.out.println ("That's my home state, too!"); } else if (state.equals("California")) { System.out.println ("That's where I was born."); } //else... if (false || true && false) { System.out.println("TRUE"); } else { System.out.println("FALSE"); } char ch = (char) tokenize.nextToken().charAt(0); System.out.println(a + " is the first character."); } }