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?
A.
one
one
B.
two
two
C.
three
three
D.
four
La risposta è C.
four
La risposta è C.
Nessun commento:
Posta un commento