Started by LIEKABOWSE, November 06, 2012, 03:11:54 AM
Quote from: Your_Mine on November 06, 2012, 05:02:17 AMOn SMP tho?
Dude, I got married on Opticraft BEFORE it was cool.
*puts on hipster glasses* Deal with it.
And yes, I just mixed two memes.
Quote from: Chief149 on November 06, 2012, 05:10:38 PMI thought the public helloworld() makes the class depend off of that?
HAHA I live in Georgia! Someday my GF and I will be married for real.
Also, LIEKABOWSE:
You don't need public Helloworld() { } in your code. The computer will just skip it and go to the main method as it is the entry point for the program. In fact, you will actually get a compiler error most likely as the class with the main method is a static class so only static methods and variables are allowed in the class unless of course it's a local variable within one of the methods. Although I've never tried putting a constructor method inside a static class so I'm not sure what the outcome would be, but it's still not necessary.