Great job completing the first lesson on learning Kotlin! Let’s go over all the content we have discussed:

  • Kotlin is a general-purpose programming language.
  • The main() function is the starting point of all Kotlin programs.
  • When we want to output something to the terminal, we can use print statements like println() or print().
  • Code is read from top to bottom.
  • Comments are used to explain what is happening in our code.

Language and syntax and rules - oh my! Learning a new language can feel daunting; luckily, there are many online resources available to us for the Kotlin language:

These language guides and resources are invaluable to programmers, and we highly encourage keeping them at hand and referencing frequently when developing in Kotlin.


Take some time to practice using Kotlin in Review.kt:

Here are some ideas on what you can do:

  • Create the main() function.
  • Print your age by subtracting the current year and your birth year.
  • Print your favorite quote.
  • Add comments about what your code is accomplishing.

When you’re ready to move on, click Up Next.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?