• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why do we write Scanner myVar = new in that example?

is scanner(system.in); enough for getting input from the user?

java
2nd Jun 2018, 6:38 AM
Janani B
Janani B - avatar
1 Answer

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Help for new learners
2 Votes
How do people get “Mentor” tag
0 Votes
HTML Elements That Enhance Accessibility
0 Votes
How to draw whit java?
0 Votes
Html question
0 Votes
почему нельзя перевести на русский?
0 Votes
Code Coach Aims
1 Votes
what are the basics to know about the backend ddevelopment
0 Votes
How do you link css to html on Sololearn
0 Votes
Code coach help
0 Votes