Insert the missing part to call myMethod
from main
two times.
static void myMethod() {
System.out.println("I just got executed!");
}
public static void main(String[] args) {
@(10);
@(10);
}
static void myMethod() {
System.out.println("I just got executed!");
}
public static void main(String[] args) {
myMethod();
myMethod();
}