Your syntax is incorrect. Here is an example, that might help.
// Demonstrates the System.out.println
public class example
{
public static void main(String[] args)
{
int x =0 ;
System.out.println(x);
System.out.println("System.out.println");
System.out.println("See the difference?");
}
}