B, D. public class MainClass { public static void main(String[] args) { for (int i = 0; i < 10; i++) { System.out.println(i); } } } public class MainClass { public static void main(String args[]) { for (int i = 0; i < 10; i++) { System.out.println(i); } } }