I am not your BEST, But I will try
public class withoutMain { static { System.out.println("Hello World!"); System.exit(0); // if you not put here, then error says no main } }
Post a Comment
No comments:
Post a Comment