/KotlinBasicIntroduction

A Sample Kotlin Project to Basic Introduction in Kotlin language

Primary LanguageKotlin

KotlinBasicIntroduction

A Sample Kotlin Project to Basic Introduction in Kotlin language

Content:

  1. Define val and var - Null safety
  2. Create a function Unit and return String/Int
  3. If Else When condition Expressions
  4. Define array and list
  5. Loops
  6. Create a class - Modifier visibility
  7. Interoperability with Java and Kotlin
  8. Scope functions
  9. Extensions functions
  10. "New Year Chaos" HackerHank Code Challenge

INTRODUCTION

According to GPT chat Kotlin is a statically-typed programming language developed by JetBrains(Intellij IDE). It is designed to be fully interoperable with Java, which means that Kotlin code can be mixed with Java code, and both can coexist within the same project seamlessly. JetBrains introduced Kotlin in 2011, and it gained official support from Google for Android development in 2017.

Hello World in Kotlin -> https://pl.kotl.in/gcWrtjEOn

fun main() {
    println("Hello world!")
}

Interesting: https://kotlinlang.org/docs/home.html https://www.jetbrains.com/pt-br/lp/devecosystem-2022/kotlin/ https://kotlinlang.org/docs/server-overview.html

  _  __     _   _ _
| |/ /    | | | (_)
| ' / ___ | |_| |_ _ __
|  < / _ \| __| | | '_ \
| . \ (_) | |_| | | | | |
|_|\_\___/ \__|_|_|_| |_|

Developed by Layon Fonseca at 2023

Kotlin Basic introduction