Scanner.nextInt(); -> expects an Integer from the user (user input). Random.nextInt(); -> creates a random integer import java.util.
確定! 回上一頁