Comments are independent of any of the positioning rules. public class MainClass{ public static void main(String[] argv){ System.out.println(); }// End of main method }