1z0-808 문제 81

Given:
public class MainMethod {
void main() {
System.out.println("one");
}
static void main(String args) {
System.out.println("two");
}
public static void main(String[] args) {
System.out.println("three");
}
void mina(Object[] args) {
System.out.println("four");
}
}
What is printed out when the program is excuted?

1z0-808 문제 82

Given the code fragment:

What is the result?

1z0-808 문제 83

Given the code fragment:

Which two modifications enable the code to compile?

1z0-808 문제 84

Given:

What is the result?

1z0-808 문제 85

Which two class definitions fail to compile? (Choose two.)