Java - Command line arguments and user keyboard input

Published: 13 February 2022
on channel: Multilingual Programming
75
like

Video Chapters (table of content with clickable links into a specific part of the video)
00:00 Introduction about the video content
00:38 Prerequisites (you should have some programming skills in at least some language)
01:03 Command prompt (showing the Java version, creates new directory, starts Visual Studio Code)
01:37 Creates a "Hello World" class
02:22 Compiles and executes the "Hello World" application from the command prompt
03:08 Replaces the implementation with code receiving arguments from the command line and the keyboard
04:46 Compiles and executes the program from the command prompt
05:20 Shows ways to receive input from the keyboard (Console, Scanner, BufferedReader)
05:39 Intellij and Eclipse are two of the most common IDE's for Java development
06:05 Intellij can use Scanner and InputStreamReader but not Console
11:12 Eclipse can use Scanner and InputStreamReader but not Console

Please note that you can choose to show subtitles for the videos.

Playlists for "Program arguments from command line and keyboard input" for different programming languages:
Playlist for the videos with english voice and english subtitles:
   • Program arguments from command line a...  
Playlist for the videos with swedish voice and swedish subtitles:
   • Program argument från kommandoraden o...  

Java playlist (english):
   • Java - Command line arguments and use...  
Java playlist (swedish):
   • Java - Program argument från kommando...  

Currently (when this video was published) there are not many videos in the above play lists but please remember to subscribe to this channel if you think you are interested in future videos which will become added to the play lists.


Java OpenJDK 17:
https://jdk.java.net/17/
Older Java OpenJDK versions:
https://jdk.java.net/archive/

Visual Studio Code:
https://code.visualstudio.com/download

Eclipse:
https://www.eclipse.org/downloads
Direct link for the zip file of "Eclipse-JEE-2021-12-R" (Windows 10 64bit) shown in the video at time 11:15
https://www.eclipse.org/downloads/dow...

Intellij Community edition:
https://www.jetbrains.com/idea/download/
Intellij can also be installed through JetBrains "Toolbox App":
https://www.jetbrains.com/toolbox-app/

Stackoverflow survey shown in the video at time 05:40
https://insights.stackoverflow.com/su...

Stackoverflow page shown in the video at time 04:39 (regarding String concatenation):
https://stackoverflow.com/questions/6...

Java 17 documentation for the classes Console, Scanner and BufferedReader/InputStreamReader:
Console:
https://docs.oracle.com/en/java/javas...
Scanner:
https://docs.oracle.com/en/java/javas...
BufferedReader:
https://docs.oracle.com/en/java/javas...
InputStreamReader:
https://docs.oracle.com/en/java/javas...

"3 ways for reading user's input from console in Java"
(advantages and disadvantages with Console, Scanner, BufferedReader)
https://www.codejava.net/java-se/file...

"BufferedReader vs Console vs Scanner in Java"
https://www.baeldung.com/bufferedread...

"Ways to read input from console in Java"
(Console, Scanner, BufferedReader)
https://www.geeksforgeeks.org/ways-to...

"Difference Between Scanner and BufferedReader Class in Java"
https://www.geeksforgeeks.org/differe...


Watch video Java - Command line arguments and user keyboard input online without registration, duration hours minute second in high quality. This video was added by user Multilingual Programming 13 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 75 once and liked it like people.