Solved

Which Statement Will Import the Static Methods of the Math

Question 83

Multiple Choice

Which statement will import the static methods of the Math class into a program so they do not need the Math.prefix before them in the code?


A) import static java.lang.Math.*;
B) import * from java.lang.Math;
C) static import * from java.lang.Math;
D) import java.lang.Math.*;

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents