Month: December 2010

Java: main method declaration | Blinded by the lights

It’s good to remember that there are a few ways of defining the main() method in Java 5: public static void main(String[] args) {} or public static void main(String args[]) {} or public static void main(String… args) {} Sometimes, we don’t care and remeber of basic stuff, which can result in worse score on the…