What does it mean when you add the static keyword to a method?
public static void doSomething(){ //Well, do something! }
Can you add the
Shortly you can not instantiate the static class: Ex:
static class myStaticClass { public static void someFunction() { /* */ } }
You can not make like this:
myStaticClass msc = new myStaticClass(); // it will cause an error
You can make only:
myStaticClass.someFunction();