which function accepts an integer by using scanner object
Answers
Answered by
1
>>----------☺️--------<<
it is going to read from the standard input stream of the program. Scanner input = new Scanner(System.in); creates a new Scanner instance which points to the input stream passed as argument. ... Above statement we create an object of a Scanner class which is define in import java.util.scanner package
>>----------☺️--------<<
Similar questions