Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
hi guys, class K { public static void main (String[] args) { double radians = Math.PI/2; double degrees = 90; System.out.print((Math.sin(radians)==1.0)+","); System.out.print((Math.sin(degrees)==1.0)); } } he ans is true, false, how?
The argument to the trigonometric methods is the angle measured in radians. The purpose of this question is to verify that you know that the angle is not measured in degrees.
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>