Menu
×
×
Correct!
Exercise:Insert the missing part to print the number 8 in
static int myMethod(int x) {
@(6) 5 + x;
}
public static void main(String[] args) {
System.out.println(myMethod(3));
}
static int myMethod(int x) {
return 5 + x;
}
public static void main(String[] args) {
System.out.println(myMethod(3));
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 59 exercises.
Are you sure you want to continue?