Error, but passed

i have several times gotten an error when i run the code but been passed to go to the next page. is this meant to be?
example: Preformatted text
public class Store {

// new method: constructor!
public Store() {
System.out.println(“I am inside the constructor method.”);


// main method is where we create instances!
public static void main(String args) {
System.out.println(“Start of the main method.”);
// create the instance below
Store lemonadeStand = new Store();
// print the instance below

and i get: error: cannot find symbol System.out.println(lemonadeStand); ^ symbol: variable lemonadeStand location: class Store 1 error