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
  • I am the best

    Kotlin SELF
    Level 7, Lesson 0
    In this motivational article, you will learn why the path to success is unique for everyone, how to choose your own strategy without sacrificing important things, and why it’s important not only to work hard, but also to work smart. This material will help you look at competition, diligence, and cultural attitudes from a new perspective.
    Available
  • Arrays in Kotlin: Array and IntArray

    Kotlin SELF
    Level 7, Lesson 1
    In this lecture, we’ll look at why arrays are needed in Kotlin and how the generic array Array<T> differs from primitive arrays like IntArray. We’ll learn how to create arrays with arrayOf/ intArrayOf and with the constructor IntArray( size), talk about default values, assemble a mini scaffold for a workout tracker, and reinforce the material with typical beginner mistakes.
    Available
  • Indexes and safe array access: [], size, indices, fill, copyOf

    Kotlin SELF
    Level 7, Lesson 2
    In this lecture, we break down how to work with arrays safely in Kotlin: reading and writing via the [] operator, why indexing starts at 0, where the boundary is in terms of size, how to use indices for correct ranges, and how to perform bulk operations with fill() and create independent copies with copyOf(). At the end, we cover typical mistakes and how to avoid them.
    Available
  • Traversing an array: sum, search, maximum, and counting

    Kotlin SELF
    Level 7, Lesson 3
    In this lecture, we cover key array traversal patterns in Kotlin: iterating by elements and by indices ( indices), computing sum and average, counting elements by a condition, searching for a value with an index return ( - 1 as “not found”), and finding the maximum and the maximum together with its index. At the end, we review typical mistakes (integer division, incorrect accumulator initialization, wrong index boundaries, and loss of readability).
    Available
  • Two-dimensional arrays

    Kotlin SELF
    Level 7, Lesson 4
    In this lecture, we break down two-dimensional arrays in Kotlin using the Array < IntArray > model: how to think in terms of a [row][col] table, how to create rectangular structures, safely get sizes via size and indices, iterate with nested loops (with and without indices), perform basic operations (sums across the whole table, by rows, and by columns), modify elements by coordinates, and avoid typical mistakes with swapped indices and out-of-bounds access.
    Available
  • Jagged arrays: Array<IntArray>

    Kotlin SELF
    Level 7, Lesson 5
    In this lecture, we cover jagged arrays in Kotlin using Array<IntArray> as an example: how to store rows of different lengths, create the structure with arrayOf/ intArrayOf, safely access elements table [ row ][ col ] with a double bounds check via indices, iterate over rows with nested loops, and solve practical tasks (printing, sum, maximum, updating by coordinates). At the end, there is a set of common mistakes and how to avoid them.
    Available
  • The Programmer’s Path

    Kotlin SELF
    Level 7, Lesson 6
    We break down developers’ career levels, the evolution of approaches to building software products, and why a modern engineer more often integrates ready-made components and cloud services than writes everything from scratch.
    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