Java Practice-it Introduction to Java Programming | Self-Check 1.23 Strange

preview_player
Показать описание
Topics:
classes, method basics, mystery, println

Question:
What is the output produced from the following program?
public class Strange {
public static void main(String[] args) {
first();
third();
second();
third();
}

public static void first() {
}

public static void second() {
first();
}

public static void third() {
first();
second();
}
}

Problem:
Рекомендации по теме