I know that we can write main method in abstract class, but what we can achieve from it ?
public abstract class Sample { public static void main(Strin
You can extend the abstract class and then the child class has a main method without specifying one there.
main