Java - Programming Language
This course covers the basics of programming in Java. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

Getting User Input

Lesson 9
Author : 🦒
Last Updated : October, 2017


System.out.print("Enter username: "); String username = keyboardInput.nextLine(); // .nextDouble(), .nextInt() System.out.println("Hello, " + username);