With Java-8 you
can have
main method defined inside the
interface, Below code
will work in Java-8. Yes you
can overload
main()
method, but when you launch your class, only the public static void
main(String args[]){}
method will be treated as an entry point.Mar 14, 2012
read more >>