0

How to take input in java?

Without using scanner class .

12th Dec 2016, 7:08 AM
Anand Chourasiya
Anand Chourasiya - avatar
6 Antworten
+ 1
You will need to use Scanner. 1. Type: import java.util.Scanner; 2. In the main function type: Scanner <name of the variable> = new Scanner(System.in); 3.Drink Bleach xDDDDDDDDDDD
12th Dec 2016, 12:56 PM
Калоян Стоянов
Калоян Стоянов - avatar
0
Input can come from different ways. You need to specify. Do you mean command line user input? Or form on Web site or from file or from other class
12th Dec 2016, 8:16 AM
Andrey Kitsa
Andrey Kitsa - avatar
0
I mean command line user input.
12th Dec 2016, 9:31 AM
Anand Chourasiya
Anand Chourasiya - avatar
0
BufferedReader use it! :3
12th Dec 2016, 3:21 PM
IlyaBelgradsky
IlyaBelgradsky - avatar
0
What is buffered reader?
12th Dec 2016, 3:22 PM
Anand Chourasiya
Anand Chourasiya - avatar