title: Java compile error: Cannot Find Symbol for BufferedReader
body: <p>Hey I'm just starting my first programming book on java so this should be an easy fix. Messing around with my fresh knowledge of conditionals and I'm getting the title error.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>import java.io.*;
  
  public class Hello {  
     public static void main (String args[]) { 
  
     BufferedReader br = new BufferedReader(ip);
     InputStreamReader ip = new InputStreamReader(System.in);
  
     String str;
  
     System.out.print("Enter your name: ");
     str = br.readLine();  
  
     System.out.println(str);
     System.out.println("Welcome to the world of Java Programming!"); 
    }
  }
  </code></pre>
  
  <p>When I tried to compile:</p>
  
  <pre><code>Hello.java:6:error:cannot find symbol
  BufferedReader br = new BufferedReader(ip);
  
  symbol: variable ip
  location: class Hello
  1 error
  </code></pre>