COMPUTER ✌️✌️
✔️✔️Write a program in Java to create scanner class✔️✔️
❌❌NO UNNECESSARY ANSWERS❌❌
Answers
Answered by
1
Explanation:
import java.util.*;
class P1
{
public static void main()
{
Scanner sc=new Scanner (System.in);
System.out.printlh ("Enter a number");
in n=sc.nextInt ();
}
}
Similar questions