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
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Â
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