Solved

If the Math Class Has Been Imported into a Program

Question 20

Multiple Choice

If the Math class has been imported into a program using the line "import static java.lang.Math.*;", how can the statement below be rewritten?
Result = Math.tan(Math.toRadians(degrees) ) ;


A) result = tan(toRadians(degrees) ) ;
B) result = Math.tan(toRadians(degrees) ) ;
C) result = tan.toRadians(degrees) ;
D) result = tan(Math.toRadians(degrees) ) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions