Computer Science, asked by angad14117, 4 months ago

.………….. keyword is used to accept integer value from a user

Answers

Answered by suhanarawat1982
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