3 ms·Don't need an import for Math.random(). Random is in java.util, while Math is in java.lang.by nostrademons 16y agoDon't need an import for Math.random(). Random is in java.util, while Math is in java.lang.