Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Why it show thread in main exception when i use Scanner but if i not den its working so plz suggest me on ths!!!
exception
java
problem
2 Votes
2 Réponses
3rd Nov 2018, 3:54 PM
Harsh Agrawal
So I have a code that takes input that's an int but it keeps giving me "error: incomparable types scanner and int" how do I fix?
input
0 Vote
7 Réponses
19th Jul 2019, 10:56 PM
Enadiz
Hi classs, please explain to me: Can we get input from file using Scanner object? I think we can do that.
class
java
scanner
0 Vote
2 Réponses
14th Jun 2023, 4:16 AM
Oliver Pasaribu
Can you please give me suggestions?
java,
scanner
suggestions,
4 Votes
4 Réponses
7th Jul 2017, 5:50 PM
reqqu
can anyone find error its showing cant find variable ki
java
scanner
2 Votes
1 Réponse
2nd Oct 2017, 3:03 PM
Raghav Khullar
What does command nextline actually do?
input
java
scanner
2 Votes
2 Réponses
7th Jun 2018, 11:17 AM
Aarnav Saxena
I used scanner class while compiling the program it is saying to give custom input. What does it mean? May anyone please help me
input
java
1 Vote
6 Réponses
12th Aug 2017, 6:55 AM
Pranshu Jaiswal
How i can save the user inputs and how can i call it later😧 in java
inputs
java
scanner
2 Votes
5 Réponses
8th Oct 2017, 9:45 PM
Babe Saleh Mahfoud
Can anyone tell what is scanner in java with example because I want to clarify my thoughts about it.....
java
0 Vote
1 Réponse
20th Sep 2022, 8:47 AM
iONE
What is the meaning of "new" in "Scanner myVar = new" ?
input
java
scanner
0 Vote
5 Réponses
7th Aug 2018, 10:24 AM
Kavya R
Hi everyone, I'm new in programming , i don't know how to use scanner in java and write it's code?
1036800
12
input
output
sample
1 Vote
1 Réponse
20th Jun 2022, 2:43 PM
Rafiullah Ahmadi
Can somebody plz help me with this?
daysintoseconds
java
nextint
scanner
0 Vote
8 Réponses
11th Oct 2021, 1:29 AM
Kevin Merric
I kept on receiving error(cannot find symbol) in (Firstnum = Di.NextInt(); and Secondnum = Di.NextInt();)
cannot-find-symbol
java
scanner
0 Vote
3 Réponses
10th Sep 2019, 11:21 PM
Rodgin P. Misterio
hey, I'm new in java program i have tried a program using scanner class and it is showing "NO OUTPUT" can anyone help ???
challenge
hhheeelllppp
java
javaprogram
problem
0 Vote
3 Réponses
25th Jul 2023, 6:07 AM
Avika Omar
Need help with Java.
help
java
scanner
2 Votes
5 Réponses
11th May 2017, 4:54 PM
Casey McCray
Hello, how can I add more than one number in the console using a scanner by writing one line code?
code
java
0 Vote
1 Réponse
2nd Jan 2023, 2:02 PM
Barxudan Abbas
Need Some Help in Java!!
input
java
scanner
0 Vote
4 Réponses
20th May 2020, 5:24 AM
Abdul Malik
How to check the array elements is unique or not in java?
arrays
java
scanner
0 Vote
3 Réponses
10th Dec 2019, 5:17 AM
Cosmo
Experimenting with getting input in java
input
java
scanner
4 Votes
3 Réponses
18th Jul 2017, 10:15 PM
Vahid Shirbisheh
what does Scanner(System.in) mean?
input
java
java-class
scanner
1 Vote
4 Réponses
25th May 2019, 5:20 PM
Rivita Chowdhury
even in the case of two inputs, I use to give two inputs in a separate line?? is it the proper way (however, output didn't come)
inputs
scanner
0 Vote
1 Réponse
15th Apr 2020, 4:40 AM
SASIM WD
Program not Waiting for Input
input
java
scanner
0 Vote
2 Réponses
13th May 2022, 1:02 PM
Ayomisesebere
Is it possible to brake out of a scanner string input so it reads an int instead "purposely"?
a
escaping
java
string
0 Vote
1 Réponse
10th Jul 2017, 9:58 PM
D_Stark
How can i take input from scanner ...like i code and "what is your age prints on the screen " and i will put if else condition ?
java
0 Vote
7 Réponses
26th May 2020, 10:36 AM
Harsh Vyas
How can I take the user input from a scanner and use the input as a numerical (double) variable?
input
java
java.util.Scanner
scanners
0 Vote
2 Réponses
6th Mar 2017, 3:54 AM
Shane Miner
I need some help with scanners. Anyone?
java
scanner
0 Vote
2 Réponses
23rd Aug 2016, 11:56 AM
bdubs5050
How can I make 2 Scanners?
code
java
scanner
1 Vote
3 Réponses
1st Apr 2020, 5:09 PM
Yahel
Block input while JDialog is open
java
jdialog
scanner
0 Vote
3 Réponses
14th Jan 2022, 3:54 PM
Tomás Ribeiro
Does anyone tell me what is the data type of the variable that are going to assigned to user input scanner variable
java
0 Vote
2 Réponses
29th Mar 2020, 7:08 PM
Abdullah Shahzad
Java scanner.nextInt() and read.nextInt()
java
read
scanner
1 Vote
2 Réponses
8th Jun 2021, 11:38 AM
Jay Kay
Pals, Pls can anyone explain to me what's the use of the hasNext() method works in a program Like this. Scanner scan = new Scann
hasnext
help
java
question
sololearn
1 Vote
4 Réponses
26th Aug 2018, 5:50 PM
Just_Chuel
I'm getting error ,i don't know why this code run successfully in my ide
java
nextint
noelement
scanner
1 Vote
5 Réponses
22nd Nov 2022, 10:25 AM
Prashant Rai
Java help input output
input
java
scanner
1 Vote
2 Réponses
30th Jul 2017, 3:57 PM
StealthyTaco
How to make a conditional code for age from 18 to 65
condition
java
scanner
0 Vote
2 Réponses
9th Sep 2020, 9:38 AM
Ziyad Aldoumany
Segment of Code Results in Exception
java
scanner
0 Vote
1 Réponse
25th Mar 2018, 7:44 AM
Nitro
i couldn't run the program
areaofcircle
java
scanner
0 Vote
3 Réponses
1st May 2020, 1:53 PM
SASIM WD
Pls help your brother out... I want to write transpose of a MATRIX in java without using scanner and TAILOR SERIES.i need hint.
java
0 Vote
2 Réponses
2nd Jul 2021, 12:02 AM
Mubarak
How can i let the user enter multiple times in java?
java
quistion
scanner
1 Vote
4 Réponses
23rd Dec 2017, 1:23 PM
@mix_tory
I have problem with "Scanner" in Java.
java
needhelp
problem
scanner
3 Votes
3 Réponses
15th Jun 2019, 1:25 PM
Сергей Серёгин
Help me guys to solve this error shown in line no. 13
calculator
java
scanner
1 Vote
4 Réponses
18th Mar 2017, 8:01 AM
Hemant Jaiswal
Is there a problem with instantiating more than one Scanners for one class??
classes
instance
java
scanner
2 Votes
5 Réponses
16th Feb 2019, 11:53 AM
Snehanshu Sen
what is the problem with this code ? anyone?
array
arraylist
java
scanner
0 Vote
10 Réponses
6th Dec 2017, 5:39 PM
D A Z A I ~
how to create a Java program to calculate this formula with scanner - distance= UT + (at^2) /2 thank u
java
operators
0 Vote
2 Réponses
10th Nov 2016, 10:32 PM
Kenneth Iheanyi
How can I send an error in Java when a user through the Scanner enters a non-numeric symbol in a variable of type int?
java
1 Vote
2 Réponses
23rd Jul 2019, 3:34 AM
Yahir Maldonado
My question is how can we show input in java with text??? How can we add text in scanner line for input in java
help
how/to/add/text/in/inpu
javaquestion
scanner
0 Vote
2 Réponses
3rd Sep 2021, 7:07 AM
Dinku Katre
Single characters out of a string?
java
scanner
string
0 Vote
2 Réponses
4th Sep 2019, 1:02 AM
William Denton
This java program is not running. Please tell me where it is wrong ? (User Input)
input
java
scanner
user
2 Votes
4 Réponses
18th Jun 2018, 3:22 PM
Kumar Purushottam
How can I scan a single input char in Java
char
input
java
scanner
3 Votes
6 Réponses
8th Oct 2017, 1:29 PM
duncan123
Can you input string and number in one input in java?
caeser
cipher
how
java
program
scanner
6 Votes
9 Réponses
13th Jun 2019, 4:42 PM
CodeFu
"Resource Leak: '<var_name>' is never closed" in Java. What does that mean?
input
java
scanner
-1 Vote
3 Réponses
4th Apr 2018, 2:16 PM
Twenty-three
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
9
10
11
...
13
Suivant >
Aujourd'hui en vedette
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes
Which mobile offline app can I use for HTML
0 Votes
HOW CAN I CREATE A GAME AS BEGINNER
0 Votes