Connect 4 Techs
  • Home
  • Excel
  • Data Analysis
  • Finance
  • MBA
    • Marketing
  • Kotlin
  • Gadgets
    • Apple
    • Samsung
    • Canon
    • Tech News
  • About
  • Contact
No Result
View All Result
Connect 4 Techs
  • Home
  • Excel
  • Data Analysis
  • Finance
  • MBA
    • Marketing
  • Kotlin
  • Gadgets
    • Apple
    • Samsung
    • Canon
    • Tech News
  • About
  • Contact
No Result
View All Result
Connect 4 Techs
No Result
View All Result
Home Kotlin

Kotlin Getting Starting From Scratch (Lesson 1 PDF)

Ahmed Elhozayen by Ahmed Elhozayen
October 11, 2026
in Kotlin
0
Kotlin Getting Starting From Scratch (Lesson 1 PDF)

Kotlin is a statically typed programming language that runs on the Java Virtual Machine (JVM). It was developed by JetBrains and is now an official language for Android development. Kotlin is designed to be concise, expressive, and safe. It is also interoperable with Java, which means that you can use Kotlin and Java code together in the same project.

Kotlin

You might also like

Kotlin Class Functions & Inheritance (Lesson 13 PDF)

Kotlin Classes and Objects & Constructors (Lesson 12 PDF)

Kotlin Functions & Classes (Lesson 11 PDF)

Overview about the Lesson

In this lesson, you will learn the basics of Kotlin programming language. You will learn about data types, operators, variables, control structures, and nullable versus non-nullable variables. You will also learn how to work with the Kotlin REPL (Read-Eval-Print Loop) interactive shell.

Kotlin Getting Starting From Scratch (Lesson 1 PDF)
Kotlin Getting Starting From Scratch (Lesson 1 PDF)
Kotlin Getting Starting From Scratch (Lesson 1 PDF) – page 4
Kotlin Getting Starting From Scratch (Lesson 1 PDF) – page 5
Kotlin Getting Starting From Scratch (Lesson 1 PDF) – page 6
Kotlin Getting Starting From Scratch (Lesson 1 PDF) – page 7

The Content of the Lesson

The lesson is divided into two parts. In the first part, you will learn about the basic syntax of Kotlin code. In the second part, you will learn how to install the Java Development Kit (JDK) and the IntelliJ IDEA, and become familiar with some Kotlin features.

Why This Lesson

This lesson is designed for programmers who are new to Kotlin and want to learn the basics of the language. It is also suitable for programmers who are familiar with Java and want to learn Kotlin.

Getting Started with Kotlin: Your First Program

Before opening the PDF, let’s get Kotlin running and write a first program, so every example in the course can be tried as you read.

Three ways to run Kotlin

OptionBest forHow
Kotlin PlaygroundTrying code instantly, no installOpen play.kotlinlang.org in your browser
IntelliJ IDEA (Community, free)Learning and real projectsInstall IntelliJ IDEA, then New Project › Kotlin
Android StudioAndroid appsInstall Android Studio; Kotlin is the default language

IntelliJ IDEA bundles the Kotlin plugin and can download a JDK for you during project setup, so a separate Java install is usually not needed.

Your first Kotlin program

fun main() {
    println("Hello, Kotlin!")
}

Output:

Hello, Kotlin!

What each part means:

  • fun declares a function.
  • main is the entry point: the program starts here.
  • The curly braces { } contain the function’s body.
  • println() prints text and moves to a new line.

Unlike Java, there is no class wrapper, no public static void and no semicolons at the end of lines.

A slightly bigger example

fun main() {
    val name = "Sara"
    val year = 2026
    println("Hi $name, welcome to Kotlin in $year!")
}

Output: Hi Sara, welcome to Kotlin in 2026!. The $name syntax inserts a variable into a string. This is called a string template, and you will use it constantly.

Why learn Kotlin?

  • Official language for Android, and Google’s recommended choice for new Android apps.
  • Concise: the same logic usually needs noticeably fewer lines than Java.
  • Null safety built into the type system, which prevents many crashes.
  • Works with Java: you can call Java libraries and mix both languages in one project.
  • Used beyond Android too: server-side (Ktor, Spring), desktop and multiplatform apps.

Common first-day mistakes

  • Writing Main instead of main. Kotlin is case-sensitive.
  • Forgetting the quotes around text: println(Hello) looks for a variable named Hello.
  • Mismatched braces. IntelliJ highlights the matching brace when you click next to one.

Practice exercise

Write a program that prints your name on the first line and your favourite programming language on the second.

fun main() {
    println("My name is Omar")
    println("I am learning Kotlin")
}

Frequently Asked Questions

Do I need to know Java before learning Kotlin?

No. Kotlin is a good first language. Java knowledge helps you understand some background concepts, but this course starts from zero.

Is Kotlin free?

Yes. Kotlin is open source under the Apache 2.0 licence, and IntelliJ IDEA Community Edition and Android Studio are free.

Continue the course

Next: Lesson 2: Syntax & Output →

  1. Lesson 1: Getting Started (you are here)
  2. Lesson 2: Syntax & Output
  3. Lesson 3: Comments & Variables
  4. Lesson 4: Data Types
  5. Lesson 5: Operators
  6. Lesson 6: Set Operations & Grouping
  7. Lesson 7: Booleans & If…Else
  8. Lesson 8: When, While, Break & Continue
  9. Lesson 9: Arrays
  10. Lesson 10: For Loops & Ranges
  11. Lesson 11: Functions & Classes
  12. Lesson 12: Classes, Objects & Constructors
  13. Lesson 13: Class Functions & Inheritance

Conclusion

Kotlin is a powerful and expressive programming language that is easy to learn and use. It is a great language for Android development and is also used in other areas such as server-side development, web development, and data science.

Download From Link

You can download the lesson from the following link:

From Here

Tags: AndroidJavaKotlinProgramming
Next Post

Kotlin Syntax & Output (Print Text) (Lesson 2 PDF)

Ahmed Elhozayen

Ahmed Elhozayen

Ahmed Elhozayen writes and curates the guides on Connect4Techs Tech. He works in the IT field and focuses on practical, step-by-step resources for Excel, data analysis, finance, MBA studies and Kotlin programming, so readers can apply what they learn the same day.

Related Posts

Kotlin Class Functions & Inheritance (Lesson 13 PDF)
Kotlin

Kotlin Class Functions & Inheritance (Lesson 13 PDF)

by Ahmed Elhozayen
October 11, 2026
Kotlin Classes and Objects & Constructors (Lesson 12 PDF)
Kotlin

Kotlin Classes and Objects & Constructors (Lesson 12 PDF)

by Ahmed Elhozayen
October 11, 2026
Kotlin Functions & Classes (Lesson 11 PDF)
Kotlin

Kotlin Functions & Classes (Lesson 11 PDF)

by Ahmed Elhozayen
October 11, 2026
Kotlin For Loop & Kotlin Ranges (Lesson 10 PDF)
Kotlin

Kotlin For Loop & Kotlin Ranges (Lesson 10 PDF)

by Ahmed Elhozayen
October 11, 2026
 Kotlin Arrays (Lesson 9 PDF)
Kotlin

 Kotlin Arrays (Lesson 9 PDF)

by Ahmed Elhozayen
October 11, 2026
Next Post
Kotlin Syntax & Output (Print Text) (Lesson 2 PDF)

Kotlin Syntax & Output (Print Text) (Lesson 2 PDF)

Recommended

Excel Formulas Cheat Sheet

Excel Formulas Cheat Sheet PDF

October 11, 2026
The Ultimate Guide to Financial Modeling PDF

The Ultimate Guide to Financial Modeling PDF

October 11, 2026

Categories

  • apple
  • Canon
  • Data Analysis
  • Excel
  • Finance
  • ios
  • Kotlin
  • Marketing
  • MBA
  • Samsung
  • Software Tutorials
  • Technology

Don't miss it

20 Essential Excel Formulas Every Data Analyst Must Know in 2026
Data Analysis

20 Essential Excel Formulas Every Data Analyst Must Know in 2026

May 18, 2026
Excel guide for data analytics learners
Excel

Excel for Data Analysis PDF

October 11, 2026
The Ultimate Guide to Financial Modeling PDF
Excel

The Ultimate Guide to Financial Modeling PDF

October 11, 2026
The Ultimate Excel Handbook PDF
Excel

The Ultimate Excel Handbook PDF

October 11, 2026
𝟓𝟎 𝐄𝐱𝐜𝐞𝐥 𝐒𝐡𝐨𝐫𝐭𝐜𝐮𝐭 𝐊𝐞𝐲
Excel

50 Excel Shortcut Key PDF: Streamline Your Workflow

March 21, 2025
Most Useful Excel Keyboard Shortcuts For Windows and Mac OS
Excel

Most Useful Excel Keyboard Shortcuts for Windows and Mac OS PDF

March 21, 2025
Connect4Techs Tech

Practical, free guides on Excel, data analysis, finance, business and programming — written to help you learn faster and work smarter.

Follow on Facebook

Topics

  • Excel
  • Kotlin
  • MBA
  • Finance
  • Data Analysis
  • Apple
  • Technology
  • Software Tutorials

Latest articles

  • 20 Essential Excel Formulas Every Data Analyst Must Know in 2026May 18, 2026
  • Excel for Data Analysis PDFAug 31, 2025
  • The Ultimate Guide to Financial Modeling PDFApr 19, 2025

Company

  • About us
  • Contact
  • Privacy Policy
  • Terms of Use
  • IT Certification PDFs
  • AI Tools & News (Connect4AI)
© 2026 Connect4Techs. All rights reserved. Privacy · Terms · Contact
No Result
View All Result
  • Home
  • Excel
  • Data Analysis
  • Finance
  • MBA
    • Marketing
  • Kotlin
  • Gadgets
    • Apple
    • Samsung
    • Canon
    • Tech News
  • About
  • Contact