title: What does Thread-Safe mean in java or when do we call Thread-Safe?
body: <p>I am not understanding this concept in any manner.</p>
  
  <pre><code>public class SomeName {
  
       public static void main(String args[]) {
  
       }
  
  }
  </code></pre>
  
  <p>This is my class SomeName. Now what is thread here. </p>
  
  <ol>
  <li>Do we call the class as a thread. </li>
  <li>Do we call this class as thread when some other object is trying to access its method or members?</li>
  <li>Do we call this class as thread when some other object is trying to access this object?</li>
  <li>What does it mean when we call something in java as thread-safe ?</li>
  </ol>