mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 01:06:54 +07:00
17 lines
322 B
Java
17 lines
322 B
Java
class Test {
|
|
|
|
public static void main(Object[] args) throws Exception {
|
|
boolean elvisLives = false;
|
|
for (final Object o : args) {
|
|
if (o instanceof Integer) {
|
|
elvisLives = true;
|
|
} else {
|
|
if (elvisLives) {
|
|
System.err.println("Elvis is alive!");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|