![](https://coding-bootcamps.com/wp-content/uploads/2024/01/Learn-Kotlin-programming-by-hands-on-examples.jpg)
Learn Kotlin programming by hands-on examples
-
Free
-
-
About Course
Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin’s standard library depends on the Java Class Library, but type inference allows its syntax to be more concise. Kotlin is a programming language which is widely used by Android developers everywhere.
Kolin is focused on interoperability, safety, clarity, and tooling support. Versions of Kotlin targeting JavaScript ES5.1 and native code (using LLVM) for a number of processors are in production as well. Kotlin originated at JetBrains, the company behind IntelliJ IDEA, in 2010, and has been open source since 2012.
About Kotlin Programming
- Open Source – The Kotlin compiler, Intellij IDEA plugin, and build tools are all open source.
- Interoperable – Kotlin is 100 percent interoperable with Java. This means all your current Java/Android code works seamlessly with Kotlin.
- Concise – Compared to Java, Kotlin code are much more concise. Also, Kotlin code is much more expressive (easier to understand and write).
- Tool-friendly – Kotlin is developed by JetBrains, the company renowned for creating development tools. You can choose any Java IDE to write Koltin code.
Why Learn Kotlin?
- Kotlin is 100 percent interoperable with Java. Hence your Java/Android code works with Kotlin.
- Kotlin allows you to cut off the lines of code by approximately 40% (compared to Java).
- Learning Kotlin is easy. It is particularly easy if you already know Java.
- Kotlin is tool-friendly. You can use any Java IDE or command line to run Kotlin.
Topics and Subtopics
Here is the course outline:
1. Kotlin Overview, Installation, and Setup
- Why Kotlin?
- Install and Setup Kotlin
- Installing the Standalone Compiler- Command Line
- Setting up Kotlin in IntelliJ IDEA
- Setting up Kotlin in Eclipse
2. Writing your first Kotlin program
3. Kotlin Variables and Data Types
- Variables
- Type inference
- Data Types
- Arrays
- Type Conversions
4. Kotlin Operators with Examples
- Operations on Numeric Types
- Bitwise Operators
- Operations on Boolean Types
- Operations on Strings
5. Kotlin Control Flow: if and when expressions, for and while loops
- If Statement
- If-Else Statement
- Using If as an Expression
- If-Else-If Chain
- When Expression
- While Loop
- do-while loop
- For Loop
- Break and Continue
6. Nullable Types and Null Safety in Kotlin
- Nullability and Nullable Types in Kotlin
- Working with Nullable Types
- Null Safety and Java Interoperability
- Nullability and Collections
7. Kotlin Functions, Default and Named Arguments, Varargs and Function Scopes
- Defining and Calling Functions
- Function Default Arguments
- Function Named Arguments
- Variable Number of Arguments (Varargs)
- Function Scope
- I. Top Level Functions
- II. Member Functions
- III. Local/Nested Functions
8. Kotlin Infix Notation – Make function calls more intuitive
Requirements
Prior knowledge of Java programming is strongly recommended.
Related Courses
- Introduction to C Programming
- Learn C++ Programming by Examples
- Introduction to Go Programming
- Introduction to Java Programming
- Introduction to Python Programming
Complete Training Bundle
If you are serious about becoming a pro software engineer, you should enroll in Coding Bootcamps school Complete Training Bundle for Software Engineers class, This bundle covers all essential and practical topics related to software design and development. For $290 monthly subscription, you can have access to 300+ hours of hands-on project-based training covering all courses related to software development like Python, Java, Kotlin, C/C++ Go and more. Click here to learn more.
Private Tutoring Classes
To take skills you learn from this course to the next level, taking the following tutoring classes are highly recommended. It is also a great opportunity to discuss your questions and problems related to this course with an experienced instructor:
- Private tutoring sessions for software design and engineering- Weekly and monthly plans
- Kotlin programming language- Private tutoring sessions
What Is Next?
After finishing this course, you can enroll in any of following classes:
- Introduction to Database Design
- Learn SQL Programming by Examples
- Intro to Blockchain Technology
- Introduction to Linux OS
- Intro to Linux Bash Scripting
Recommended Free Courses
If you are new to the IT or programming, we suggest the following free courses: