+ 1
From math import sqrt, cos
What does this code mean
1 Réponse
+ 11
In java
import => mens you want to import somthing like class and that methods
Example import java.util.Scanner;
java // is a package
util // is sub package
Scanner // is class you in that package
Sqrt is method of Math class if you have any number and you want find there square root than this method for.
Cos is method of Math class if your programme want any mathamatical opration with cos
than this method for you.