... e a formiguinha não é escrava do nazi, logo nenhum humano é escravo do nazi.
class Humano {
...
void trabalha() throws NullPointerException {
if (!System.FORMIGA.éEscavoNazi() && (this.nível() >= System.FORMIGA.nível()))
throw new NullPointerException("there is no slave! go plant you own potatoes!");
else throw new NullPointerException("abolição da escravatura mal implementada!");
}
}
... kk coisa assim... e do lado do nazi...
class Nazi extends Human {
...
public void main(String[] args) {
parideira.buscaEsperma();
Human nh = parideira.pareHumano();
try {
nh.trabalha();
} catch (NullPointerException npe) {
System.err.println("wtf! no slave?!");
if (this.hasCreativity()) this.getALife();
else this.commitSuicide();
}
}
}