When we create a new class file in eclipse the steps we follow is
- we name the class file
if we want a main class we click on the checkbox
public static void main(String[] args)
But suppose we don't click the checkbox and create a .java file, is there a way
to generate public static void main(String[] args) from the source, just like the way we generate getter/setter from source in eclipse.
PS: I know we can write public static void main(String[] args) manually, but I just want to know if eclipse has any feature to do that.