0
In this program how to solve the Exception & getting an user input?
2 Answers
0
import java.util.*;
public class Program
{
public static void main(String[] args) {
String s;
Scanner reader = new Scanner(System.in);
s = reader.nextLine();
System.out.println(s);
}
}
This is how you ask for the input by the userđđđ