What's the difference between calling through and object vs class
<p>What's the difference between calling a method through an object vs a class.</p>

<p>for example the Class Bob</p>

<pre><code>public class SecretNumber() {
    public static int secretNumber = 2;
    public static void changeSecretNumber(){
        secretNumber++;
    }
}
</code></pre>

<p>What would be the difference if i called it like an object</p>

<pre><code>SecretNumber secretNumber = new SecretNumber();
secretNumber.changeSecretNumber();
</code></pre>

<p>vs calling it like this</p>

<pre><code>SecretNumber.changeSecretNumber();
</code></pre>

<p>How would one method effect the other?</p>
