title: Unexpected error in simple Java program
body: <p>I'm learning Java, and I wanted to make a very basic calculator. But looks like I got a problem right a way! </p>
  
  <p>Here is the code:</p>
  
  <pre><code>import java.util.Scanner;
  
  public class apples{
      public static void main(String args[]){
          int test = 6;
          if(test != 9){
              System.out.println("Yes");
          }else{
              System.out.println("No");
          }
      }
  }
  </code></pre>
  
  <p>So in Eclipse I tried to run this but the problem is it does not work and show this error:</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.Error: Unresolved compilation
    problem:</p>
    
    <p>at apples.main(apples.java:4)</p>
  </blockquote>