Here, nextInt() is a method of the object s of the Scanner class. Let's see an example in which we will input an integer value from the user. import java.
確定! 回上一頁