Unique methods for use through the class rather than an object <p>So, I'm beginning to learn Java and I think it's an awesome programming language, however I've come across the <code>static</code> keyword which, to my understanding, makes sure a given method or member variable is accessible through the class (e.g. <code>MyClass.main()</code>) rather than solely through the object (<code>MyObject.main()</code>). My question is, is it possible to make certain methods only accessible through the class and not through the object, so that <code>MyClass.main()</code> would work, however <code>MyObject.main()</code> would not? Whilst I'm not trying to achieve anything with this, I'd just like to know out of curiosity.</p> <p>In my research I couldn't find this question being asked anywhere else, but if it is elsewhere I'd love to be pointed to it!</p> <p>Forgive me if it's simple, however I've been thinking on this for a while and getting nowhere.</p> <p>Thanks!</p>