1.class StaticMethods { 2.static void one() { 3.two(); 4.StaticMethods.two(); 5.three(); 6.StaticMethods.four();

By | January 1, 2023

1.class StaticMethods {
2.static void one() {
3.two();
4.StaticMethods.two();
5.three();
6.StaticMethods.four();
7.}
8.static void two() { }
9.void three() {
10.
one();
11.
StaticMethods.two();
12.
four();
13.
StaticMethods.four();
14.
}
15.
void four() { }
16.
}
Which three lines are illegal?

Correct Answer: D,G,H