0

In this program how to solve the Exception & getting an user input?

https://code.sololearn.com/czRNu19v9nUu/?ref=app

24th Jul 2019, 6:39 PM
Aparesh Bhunia
Aparesh Bhunia - avatar
2 Antworten
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👌👌👌
24th Jul 2019, 6:56 PM
Dejan Francuz🥇
Dejan Francuz🥇 - avatar