Computer Science, asked by georgeabm, 1 year ago

what do u mean by the statement Scanner sc=new Scanner (System.in);
Name the package that contains scanner class.
if u know both the answers only answer this is.pls answer it properly.i will mark you brainliest

Answers

Answered by craiggleanp5ubuu
1
The package which contains Scanner class is java.util or java.Scanner

Scanner sc=new Scanner (System.in);
This calls the package and helps you assign a value to which ever variable you have initialize as long as you write the right statements after you execute the program 
Similar questions