title: Private member of class accessed in main method
body: <p>let's assume we have the following code:</p>
  
  <pre><code> public class TestScope {
        private int a = 1;
           public static void main(String[] args) {
             TestScope ts = new TestScope();
             ts.a = 6;
             System.out.println(ts.a);
          }
      }
  </code></pre>
  
  <p>Why at line: <code>ts.a = 6;</code> I can get access to private variable <code>a</code>?
  I thought that private memebers cannot be accessed outside. I don't underestend this example.</p>