3 ms·
// Import all "sub-packages" import java.lang.Math.*; Nope, you don't import all subpackages with this, you import all the static methods defined in the java
by mavroprovato 13y ago
// Import all "sub-packages"
import java.lang.Math.*;
Nope, you don't import all subpackages with this, you import all the static methods defined in the java.lang.Math class
- deleted 13y ago[deleted]
- eonwe 13y agoFor static import you would need to do import static java.lang.Math.*; The current version would just import all the classes defined in package java.lang.Math (which does not exist, but java.math does).