E ae pessoal?
Nem preciso falar… mesmo assim vou… 
Nem pensem em executar…
Qual será a saída… ou não vai ter saída, PORQUE?
public class Desafio extends java.lang.Object {
public Desafio() {
super();
}
public String RetornaStringNumero(Integer n) {
if (n == null) {
throw new RuntimeException("Parametro nulo.");
} else {
return n.toString();
}
}
public String RetornaStringNumero(Double n) {
if (n == null) {
throw new RuntimeException("Parametro nulo.");
} else {
return n.toString();
}
}
static public void main (String[] argumentos) {
System.out.println(new Desafio().RetornaStringNumero(null));
}
}
:dance:
