Video Chapters (table of content with clickable links into a specific part of the video)
00:00 Introduction about the video content
00:40 Prerequisites (you should have some programming skills in at least some language)
01:02 Command prompt (showing the Kotlin and Java versions, creates new directory, starts Visual Studio Code)
01:43 Creates a Kotlin script file (.kts) with a "Hello World" program
02:39 Executes the "Hello World" script from the command prompt
02:55 Replaces the implementation with code receiving arguments from the command line and the keyboard
05:10 Executes the updated program (the .kts script)
05:27 Creates a Kotlin file (.kt) with a 'top-level function' which later will be compiled
06:35 Compiles the program in the .kt file
07:30 Executes the .class file which was created when the .kt file was compiled
07:40 Creates a Kotlin class which will be executed with the Java runtime
10:42 Compiles the Kotlin class with the flag '-include-runtime' to a jar file
11:03 Executes (with the java runtime) the code that was compiled to a jar file
11:10 Compiles a kotlin program to machine code, with the compiler 'kotlinc-native'
11:33 Executes the 'native' program (the .exe file created with the 'kotlinc-native' compiler)
12:14 Comments about how you can install Kotlin (kotlinc and kotlinc-native) för Windows 10
Please note that you can choose to show english subtitles for the videos.
Currently (when this video was published) there are not many videos in the below playlists 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.
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...
Kotlin playlist (english):
• Kotlin - Command line arguments and u...
Kotlin playlist (swedish):
• Kotlin - Program argument från komman...
Kotlin home page
https://kotlinlang.org
Kotlin 1.6.10 (links to the zip files shown in the end of the video)
https://github.com/JetBrains/kotlin/r...
Visual Studio Code (cross-platform editor):
https://code.visualstudio.com/download
Kotlin documentation relevant for the content of this video:
Kotlin scripts ("kotlinc -script" with a script using "args")
https://kotlinlang.org/docs/command-l...
Program entry point (function "main" with String Array arguments)
https://kotlinlang.org/docs/basic-syn...
'for loops'
https://kotlinlang.org/docs/control-f...
function 'readln' (Reads a line of input from the standard input stream)
https://kotlinlang.org/api/latest/jvm...
'string interpolation'
https://kotlinlang.org/docs/idioms.ht...
'companion object'
https://kotlinlang.org/docs/object-de...
@JvmStatic annotation
https://kotlinlang.org/api/latest/jvm...
Static methods
https://kotlinlang.org/docs/java-to-k...
'kotlinc' compiler
https://kotlinlang.org/docs/command-l...
'kotlinc-native' compiler
https://kotlinlang.org/docs/native-co...
Java jar files (mentioned in the video at the time 09:07)
https://docs.oracle.com/javase/tutori...
7-zip (mentioned in the video at the time 09:25)
https://www.7-zip.org
Смотрите видео Kotlin - Command line arguments and user keyboard input (script, JVM, native) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Multilingual Programming 14 Март 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 148 раз и оно понравилось like людям.