Kotlin - Basics and JVM RuntimeWhich command is used to start the Kotlin REPL in a terminal?AkotlinBkotlinc -scriptCkotlinc-jvmDkotlincCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify REPL start commandThe command 'kotlin' starts the REPL interactive shell.Step 2: Differentiate from compiler commands'kotlinc' compiles code, 'kotlinc -script' runs scripts, but 'kotlin' alone starts REPL.Final Answer:kotlin -> Option AQuick Check:Start Kotlin REPL = kotlin command [OK]Quick Trick: Use 'kotlin' command to open REPL shell [OK]Common Mistakes:MISTAKESUsing 'kotlinc' which compiles but doesn't start REPLConfusing script mode with REPL startTrying 'kotlinc-jvm' which is compiler specific
Master "Basics and JVM Runtime" in Kotlin9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kotlin Quizzes Collections Fundamentals - Mutable vs immutable interfaces - Quiz 9hard Data Types - Type conversion is always explicit - Quiz 10hard Data Types - Nothing type for functions that never return - Quiz 1easy Functions - Infix functions for readable calls - Quiz 2easy Functions - Unit return type - Quiz 5medium Loops and Ranges - Labeled break and continue - Quiz 3easy Loops and Ranges - For loop over collections - Quiz 8hard Loops and Ranges - Why ranges simplify iteration - Quiz 10hard Operators and Expressions - Operator precedence - Quiz 10hard Variables and Type System - Constant values with const val - Quiz 1easy