# Setup and first program — Kotlin

Source: https://www.geekswithgeeks.com/en/kotlin/kotlin-setup

> Explain Setup and first program, run a focused example, and inspect the result.

## The essential idea

**Setup and first program** makes a Kotlin program more expressive while keeping the code readable. Identify the value, the rule, and the result before you try to remember the syntax.

## Run a tiny experiment

Read top to bottom, then run the code and use its output as evidence.

```kotlin
fun main() {
    println("Namaste, Kotlin!")
}
```

Output:

```
Namaste, Kotlin!
```

## A practical habit

For **Setup and first program**, run a very small example and change only one part. The compiler and output will show whether your explanation is correct.

Quick check

**Quiz:** How should you practise Setup and first program?

- [x] Run a focused small program.
- [ ] Memorize without compiling.
- [ ] Ignore errors.

*Answer:* Run a focused small program.. Small experiments make cause and effect visible.
