.………….. keyword is used to accept integer value from a user
Answers
Answered by
1
Answer:
Statement n = s. nextInt(); is used to input the value of an integer variable 'n' from the user. 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.
Explanation:
hope you like the answer and please mark me brainlist
Similar questions