Originally posted by Kay Liew:
Question from MindD - 45.
Which methods does java.lang.Math include for trigonometric computations ?
a - sin()
b - cos()
c - tan()
d - aSin
e - aCos()
f - aTan()
g - toDegree()
Answer are a,b and c. I remembered somewhere I read that d,e and f are part of the answers. I just couldn't find where I have read that from. I am 70% sure about this and need 30% from your confirmation.
What do you think ?
Answers a,b and c are correct and d,e and f are wrong because java.lang.Math class has three methods asin, acos and atan .
Note the capital letters in aSin , aCos and aTan in the mock question while the actual methods in Math class have small-case letters as above.
and option g which is toDegree is wrong too because it should be toDegrees
Hope that helps...
[ January 26, 2005: Message edited by: Jay Pawar ]
Cheers,<br />Jay<br /> <br />(SCJP 1.4)<br />Heights of great men were not achieved in one day, they were toiling day and night while their companions slept.