Skip to content

Instantly share code, notes, and snippets.

@martinomburajr
Last active December 7, 2017 12:09
Show Gist options
  • Select an option

  • Save martinomburajr/9e775d6f94f88723e777d32325a70fc3 to your computer and use it in GitHub Desktop.

Select an option

Save martinomburajr/9e775d6f94f88723e777d32325a70fc3 to your computer and use it in GitHub Desktop.
public class FunMainMethodTrivia {
//Original Main Method
//JVM will always call it
public static void main(String []args) {
//
}
//Valid overload
//JVM will not call it.
public static void main(String s1) {
//You must call this method as a developer
}
//Valid overload
//JVM will not call it.
public static void main(String s1, String s2, String s3) {
//You must call this method as a developer
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment