Corsi
AccediInizia a imparare l'IA
Corsi
AccediInizia a imparare l'IA

Discussioni Q&A

Scanner myVar = new Scanner(System.in); what it mean?
inputjava
0 Voti
2 Risposte
22nd Dec 2016, 4:57 PM
Vannak Saing
Vannak Saing - avatar
Can someone explain me this Scanner myVar = new Scanner(System.in);
input
0 Voti
2 Risposte
13th May 2019, 4:35 PM
Merfid Alihodzic
Merfid Alihodzic - avatar
What is the meaning of "new" in "Scanner myVar = new" ?
inputjavascanner
0 Voti
5 Risposte
7th Aug 2018, 10:24 AM
Kavya R
Kavya R - avatar
Scanner myvar = new Scanner (System.in) Why is this used.
java
0 Voti
1 Risposta
16th Dec 2016, 1:54 PM
Rohit thapliyal
Rohit thapliyal - avatar
can anybody explain me this syntax scanner MyVar = New scanner (system.in);
java
1 Voto
5 Risposte
16th Sep 2016, 11:33 AM
abhishek
abhishek - avatar
Why do we write Scanner myVar = new in that example?
java
0 Voti
1 Risposta
2nd Jun 2018, 6:38 AM
Janani B
Janani B - avatar
"scanner myvar = new" is new a value here? Like saying this is empty for now?
inputjava
1 Voto
3 Risposte
30th Aug 2017, 6:30 PM
Yuko
Yuko - avatar
import java.util.Scanner; class MyClass { public static void main(String[ ] args) { Scanner myVar = new Scanner(System.in); System.out.println(myVar.nextLine()); } }
inputjava
0 Voti
6 Risposte
12th Oct 2016, 6:53 AM
Javed
Javed - avatar
How can i style myvar Line 43. I want to style color red in instance class Color. Thanks you sir.
myvarredstyle
0 Voti
1 Risposta
5th Jul 2021, 6:24 AM
Malick Diagne
Malick Diagne - avatar
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
Hello !
0 Votes