Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
BEST
Programming

/

Programming Language

Java to Kotlin Starter Guide for Java Developers

Through this lecture, you can learn about the characteristics and background of the Kotlin language, grammar and operation principles, usage examples, and things to be careful of when using Java and Kotlin together.

(5.0) 283 reviews

3,469 learners

  • lannstark
Kotlin
Java
oop

Reviews from Early Learners

What you will learn!

  • Kotlin's basic grammar, background of concepts, operating principles, and use cases

  • Things to watch out for when using Kotlin and Java together

Want to learn Kotlin, the trendy language these days?
Learn Kotlin with Java

This lecture introduces the background and principles of how Java changed to Kotlin by topic.

Rather than learning new concepts from scratch, it's much more effective to build on what you already know and learn the differences. Based on Java, we aim to quickly and easily explain Kotlin's syntax, principles, and use cases.


This is not a lecture that simply explains Kotlin grammar one by one.

This course covers Kotlin's syntax, its origins, and how it works, along with practical examples to enhance your understanding of the language. You'll quickly gain a sense of what Kotlin code looks like and be able to build products using it.


I recommend this to these people!

🙋‍♀️ I've learned Java!

This course explains Kotlin to those who have been learning Java for about 6 months to 1 year.
Based on Java, we will cover what features have changed in Kotlin, and what inconveniences the new features and syntax in Kotlin are intended to solve.

🙋‍♀️ I want to learn Kotlin!

Kotlin, the official language for Android and a language increasingly used on servers, is easy and quick to learn. You'll learn the language, grammar, and principles much more effectively than courses designed for beginners .


I'm going to learn things like this.

  • Kotlin basic grammar
  • How Kotlin code works
  • Various tips for using the Kotlin language
  • Things to keep in mind when using Java and Kotlin together

Kotlin Core Curriculum,
Lecture Preview

Lecture 0 (Free Lecture)

  • We cover 34 light TMIs about Kotlin.

Lecture 1 (Free Lecture)

  • We cover how to declare variables and the var and val keywords.
  • Covers how to manage primitive types and how to declare nullable variables.

Lecture 2

  • Various functions that utilize nullable variables
    • Safe Call, Elvis Operator, Not-Null Assertion
  • Things to be aware of and how to deal with null types when using Java and Kotlin together

Lecture 3

  • We cover how to declare variables and the var and val keywords.
  • Covers how to manage primitive types and how to declare nullable variables.

Lecture 4

  • Covers most of the operators that exist in Kotlin.
  • Covers the behavior of comparison between objects, equality and identity, and operator overloading.

Lecture 5

  • We cover if and when statements, expressions and statements.

Lecture 6

  • We will cover for loops, while loops, and Progrssion, which is the principle that makes traditional for loops work in Kotlin.

Lecture 7

  • Covers the try catch finally statement, checked and unchecked exceptions.
  • We'll cover try with resources, which was added in JDK 7.

Lecture 8

  • We will cover Kotlin's function declaration syntax, default parameters, and named arguments.
  • We cover the syntax for declaring variable arguments.

Lecture 9 (Free Lecture)

  • Covers classes and properties, constructors and init blocks.
  • We'll cover custom getters/setters and backing fields.

Lecture 10

  • We cover abstract classes and interfaces.
  • We'll summarize the things to keep in mind and related keywords when inheriting in Kotlin.

Lecture 11

  • We will cover how to control access (public, protected, internal, private).
  • We'll cover some things to keep in mind when using Java and Kotlin together due to differences in access control.

Lecture 12

  • We cover static functions and variables, singletons, and anonymous classes.

Lecture 13

  • We cover the types of nested classes and how to write better nested classes.
  • Covers how to implement nested and inner classes in Kotlin.

Lecture 14

  • We cover Data Classes, Enum Classes, Sealed Classes, and Sealed Interfaces.

Lecture 15

  • I will explain how to use arrays and collections in Kotlin.
  • We'll cover some things to keep in mind when working with collections when using Kotlin and Java together.

Lecture 16

  • We cover extension functions, infix functions, inline functions, and local functions.

Lecture 17 (Free Lecture)

  • Covers why lambdas appeared in Java.
  • We'll cover how to use lambdas in Kotlin and how they differ from Java.
  • We will look at the concept of closure and the syntax of functions.

Lecture 18

  • We've compiled useful APIs for functionally handling collections in Kotlin.

Lecture 19

  • Covers Type Alias and import, destructuring, and componentN functions.
  • We will cover the Jump and Label functions that exist in Kotlin, as well as the takeIf and takeUnless functions used for method chaining.

Lecture 20

  • We cover the differences and use cases for the five scope functions that exist in Kotlin.
  • Let's take a moment to think about scope functions and readability.

Expected Questions Q&A 💬

Q. Do I need to know Java to take the course?

A. Yes, that's right! This course is designed for those who have been using Java for six months to a year and want to learn Kotlin but find basic language courses ineffective. In this course, we'll first present Java code and then introduce the corresponding Kotlin code.

Q. Why was this designed for people who know Java?

A. I believe that learning new concepts effectively involves comparing and contrasting them with what you already know. Furthermore, I planned this content to address the challenges I experienced when moving from a company that only knew Java to one that used Kotlin.

Q. What level of content is covered in the class?

A. After completing this course, you will be able to program more than 95% of the time using Kotlin. Advanced topics like reflection, DSL, lazy computation, delegation, and generics will be covered in the future, if the opportunity arises.

Recommended for
these people

Who is this course right for?

  • I am using Java in my work and would like to quickly learn how to use Kotlin.

  • Anyone interested in learning a new language

  • Anyone who wants to increase their understanding of Kotlin

Need to know before starting?

  • Java language

  • Some understanding of programming languages.

Hello
This is

10,025

Learners

707

Reviews

761

Answers

5.0

Rating

6

Courses

안녕하세요 😊

제가 아는 내용을 이해하기 쉽고, 재미있게 설명드려 여러분들이 성장하실 때 행복함을 느끼는 개발자 최태현입니다.

 

  • (현) 캐치테이블[와드] 소프트웨어 엔지니어

  • (전) 스타트업 소프트웨어 엔지니어 리드

  • (전) 배달의민족[우아한형제들] 소프트웨어 엔지니어

  • (교육활동) Next Step 리뷰어 다수 참여, 공기관 & 스타트업 경진대회 강사 및 멘토, 스파르타 코딩클럽 멘토

  • 한국과학기술원 (KAIST) 졸업

 

Curriculum

All

24 lectures ∙ (5hr 13min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

283 reviews

5.0

283 reviews

  • shirohoo41021424님의 프로필 이미지
    shirohoo41021424

    Reviews 15

    Average Rating 5.0

    5

    96% enrolled

    When I was studying Kotlin, I don't think this lecture existed. If I had this lecture when I was studying Kotlin, I think I could have saved at least a month or more. Even though I studied by looking at all kinds of Kotlin books and documents, I wasted a lot of time on the gap between Java and Kotlin, and I still don't know how to use Kotlin in practice. (My current company doesn't use Kotlin, so I haven't used Kotlin in practice yet...) Anyway, for those who are interested in Kotlin and are studying it after using Java like me, I think this is the best lecture available. I've been using Java for less than two years and studying Kotlin for about two months, and I took this lecture and was able to organize a lot of things. Thank you.

    • lannstark
      Instructor

      Hello~ Changhoon!!! Wow~ Thank you so much for your words! I think you did a great job making the lecture! Thank you for your support!! I will come back with another great lecture~ ^^

  • tidnj11061263님의 프로필 이미지
    tidnj11061263

    Reviews 2

    Average Rating 5.0

    5

    100% enrolled

    I am an Android developer. I took this course during the transition period when the company was moving from Java to Kotlin. I studied Kotlin on my own by reading Kotlin books, but I wish I had taken this course. It was really helpful!

    • lannstark
      Instructor

      Hello~ JeonDev!! I'm so glad that my lecture was helpful to you!!!! I'll come back with a better lecture next time~ Thank you~ ^^

  • dks39630965님의 프로필 이미지
    dks39630965

    Reviews 1

    Average Rating 5.0

    5

    29% enrolled

    In fact, even if you use Kotlin, you will eventually need to know Java to gain a deep understanding of Kotlin. This lecture was sufficient in this regard by explaining it while directly comparing the same Java and Kotlin code.

    • lannstark
      Instructor

      Hello! Hongbeomi!! As you said, Kotlin is also compiled to .class, so it seems that you need to know Java to some extent to understand it deeply. Thank you for your good opinion!! I will come back with a better lecture next time~!! ^^

  • today8934님의 프로필 이미지
    today8934

    Reviews 5

    Average Rating 5.0

    5

    100% enrolled

    I have taken many lectures from Inflearn, and personally, if the total class time exceeds 5 hours, it tends to be too boring, and if it is too short, the lecture content is often lacking. However, this lecture summarizes the key points well, and only covers the necessary details, but it is a really good lecture that is not too long. It was very helpful.

    • lannstark
      Instructor

      Hello today8934!! Oh my~~ Thank you so much for the great review ㅎㅎㅎㅎ I tried to compress the content that is really necessary and record the details for those who want to learn Kotlin quickly, so I'm so happy that you noticed!! 😄 I will continue to work hard to create content that is compact and full of useful content in the future! Thank you!!! Have a lovely holiday~!!! 🙇

  • 밝은 토끼님의 프로필 이미지
    밝은 토끼

    Reviews 3

    Average Rating 5.0

    5

    100% enrolled

    I recently started studying Kotlin and took the lecture, and I think it was a really informative and clean lecture. (Those who took the lecture will understand the sentence below) I am writing a review saying that I respect and admire the instructor. ㅎㅎ

    • lannstark
      Instructor

      Oh my~ Hello Kkugi!! Wow~ Thank you for your valuable evaluation ㅎㅎㅎ I will prepare a more informative and clean lecture next time!! Thank you!!!

$42.90

lannstark's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!