Computer Science, asked by MithuDas, 9 months ago

COMPUTER ✌️✌️

✔️✔️Write a program in Java to create scanner class✔️✔️

❌❌NO UNNECESSARY ANSWERS❌❌ ​

Answers

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