I'm learning Java, and I wanted to make a very basic calculator. But looks like I got a problem right a way!
Here is the 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");
}
}
}
So in Eclipse I tried to run this but the problem is it does not work and show this error:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at apples.main(apples.java:4)