title: Why is there a problem with a non-static variable being read from main?
body: <pre><code>String name = "Marcus";
  static String s_name = "Peter";
  
  public static void main(String[] args) {    
      System.out.println(name);//ERROR
      System.out.println(s_name);//OK
  }
  </code></pre>
  
  <p>ERROR: Cannot make a static reference to the non-static field name</p>