Mais uma… 
Given:
System.out.printf(“Pi is approximately %f and E is approximately %b”, Math.PI, Math.E); Place the values where they would appear in the output.

Qual são as respostas dos números:
1 -
2 -
Mais uma… 
Given:
System.out.printf(“Pi is approximately %f and E is approximately %b”, Math.PI, Math.E); Place the values where they would appear in the output.

Qual são as respostas dos números:
1 -
2 -
boa noite:
1 - 3,141593
2 - true
[]'s
Esquisito %b dar o resultado “true”. Parece o C (onde 0 == false, !=0 == true) . Eu acharia que a resposta seria “IllegalArgumentException” ou coisa parecida.
Mas testei e é exatamente isso que foi postado (“Pi is approximately 3,141593 and E is approximately true”)
eu errei essa questao… no exame a segunda opção marquei false., agora pq eh true?
Uma regra.
Veja no javaDoc:
é lendo e aprendendo!! valeu
mais essa class Math.E retorna uma strings… aff fiquei mal com essa questao… pq no livro nao tinha… nada a respeito…