CodeGym
AI Academy
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme

Lessons

  • Reviews
  • About us
Start
Start learning
Start learning now
  • My Progress
  • Courses
  • University
  • Quest Map
  • Lessons
  • How to know that I can do it?

    Kotlin SELF
    Level 8, Lesson 0
    In this article, you will learn why programming is accessible to everyone, what advantages the programmer profession offers, how the innovative approach to learning at CodeGym differs, and why practice is more important than theory. The material will inspire you to believe in your own abilities and start your path in IT!
    Available
  • Declaring and calling functions

    Kotlin SELF
    Level 8, Lesson 1
    In this lecture, we’ll cover the basics of functions in Kotlin: how to declare functions using fun, how to call them from main, how parameters differ from arguments, how the return type is specified ( Int, String, Double, Boolean), and why a function signature is a contract. At the end, we’ll build a mini app, a “step tracker”, and discuss common beginner mistakes.
    Available
  • How to finish functions in Kotlin: return

    Kotlin SELF
    Level 8, Lesson 2
    In this lecture we break down how function completion works in Kotlin via return: why the compiler requires a returned value on all execution paths, how to apply an early return (guard clause) for readability, how functions with a result ( Int and other types) differ from action-only functions with Unit and from “non-returning” functions with Nothing. At the end, a mini app and common mistakes.
    Available
  • Default values and named arguments

    Kotlin SELF
    Level 8, Lesson 3
    In this lecture, we’ll break down how Kotlin lets you simplify function calls with default values and named arguments: how to make parameters optional, how to use defaults that depend on other parameters, why parameter order matters, how to safely mix positional and named arguments, and how to apply this in the mini-project “Wallet”. At the end: typical mistakes and practical criteria for choosing between defaults and naming.
    Available
  • Expression body and local functions

    Kotlin SELF
    Level 8, Lesson 4
    In this lecture we’ll cover two tools in Kotlin that help keep code compact and readable: a short function body (expression body) via = and local functions (nested fun). We’ll look at type inference, cases where it’s better to keep a block body, and we’ll also build a mini app, an “expense jar,” with input, parsing, and validation, including a process diagram in mermaid.
    Available
  • Visibility and scope: private/public

    Kotlin SELF
    Level 8, Lesson 5
    In this lecture, we look at two different ordering mechanisms in Kotlin: visibility modifiers public/private (who can use a declaration) and scope — where a name exists in code at all. Using examples, we will see why variables “die” after }, how if/for/while blocks work, why it makes sense to hide helper functions like readInt() and printMenu() as private, what shadowing is, and how to neatly organize a single-file project BudgetBuddy.
    Available
  • Building products: how modern IT products are born

    Kotlin SELF
    Level 8, Lesson 6
    In this lecture, you will learn how modern IT products are actually created: why development is constant change, how the release process is organized, why only code running in production creates value, and what stages your code goes through from writing to delivering value for users. All with examples, analogies, and real stories from the industry.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym