LessonAbout 7 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 2 · Lesson 5 of 505. Reading input with ScannerRead what the user types with Scanner: nextLine for text, nextInt and nextDouble for numbers, and the nextInt-then-nextLine trap.