Main method overload in java