Cours
Se connecterCommencer à apprendre l'IA
Cours
Se connecterCommencer à apprendre l'IA

Discussions Q&R

Scanner myVar = new Scanner(System.in); what it mean?
inputjava
0 Vote
2 Réponses
22nd Dec 2016, 4:57 PM
Vannak Saing
Vannak Saing - avatar
Can someone explain me this Scanner myVar = new Scanner(System.in);
input
0 Vote
2 Réponses
13th May 2019, 4:35 PM
Merfid Alihodzic
Merfid Alihodzic - avatar
What is the meaning of "new" in "Scanner myVar = new" ?
inputjavascanner
0 Vote
5 Réponses
7th Aug 2018, 10:24 AM
Kavya R
Kavya R - avatar
Scanner myvar = new Scanner (System.in) Why is this used.
java
0 Vote
1 Réponse
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 Vote
5 Réponses
16th Sep 2016, 11:33 AM
abhishek
abhishek - avatar
Why do we write Scanner myVar = new in that example?
java
0 Vote
1 Réponse
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 Vote
3 Réponses
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 Vote
6 Réponses
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 Vote
1 Réponse
5th Jul 2021, 6:24 AM
Malick Diagne
Malick Diagne - avatar
Aujourd'hui en vedette
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Bro can you fix yt error?
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Need suggestions to learn AI and ML
1 Votes
Bug in Completing AI Practice
0 Votes
Java full stack
0 Votes