CodeGym
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
  • Do-while loop: introduction and nuances

    JAVA 25 SELF
    Level 4, Lesson 3
    In this lecture, you will get acquainted with the do-while loop in Java: you will learn how it differs from a regular while, how its syntax works, see practical scenarios (input validation, a simple console menu), and compare it with other loops. The material will help you choose do-while correctly when it is important to execute the loop body at least once.
    Available
  • Loop control: the break and continue statements

    JAVA 25 SELF
    Level 4, Lesson 4
    In this lecture, you will learn how to control loop execution in Java using the break and continue statements: when to terminate a loop early, how to skip individual iterations, see examples for while, for, and do-while, and also go through practical input validation scenarios. The material will help you write more flexible and readable code.
    Available
  • Nested loops and their applications

    JAVA 25 SELF
    Level 4, Lesson 5
    In this lecture we cover nested loops in Java: why you need them, how the syntax works for for and while, practical examples (chessboard, multiplication table), flow-control nuances with break and continue, visualization of how they work, and common mistakes. After studying this, you'll confidently use a loop within a loop in real-world tasks.
    Available
  • CodeGym Java 25 Course

    JAVA 25 SELF
    Level 4, Lesson 6
    Get to know the history and philosophy of CodeGym, CodeGym’s international success, the new CodeGym University format, and the launch of the modern Java 25 Software Engineer course. This page will tell you how we create effective educational programs and why our Java 25 course is one of the most up-to-date and advanced on the market.
    Available
  • An eye-opening life lesson: competition and real success

    JAVA 25 SELF
    Level 5, Lesson 0
    In this article, you’ll learn why the classic “school — university — job” path doesn’t guarantee success, how competition affects your career, why the best specialists get everything while a diploma doesn’t guarantee demand. Practical advice and real-life examples will help you understand how to build a career in the real world.
    Available
  • Choosing an IDE: IntelliJ IDEA, Eclipse, VS Code

    JAVA 25 SELF
    Level 5, Lesson 1
    In this lecture, you will learn what an IDE (Integrated Development Environment) is, why a developer needs one, which IDEs for Java are popular, how they differ, and why we choose IntelliJ IDEA Community for learning. You will learn to navigate the capabilities of modern IDEs and be able to choose the right tool for your tasks.
    Available
  • Installing and configuring IntelliJ IDEA, JDK 25

    JAVA 25 SELF
    Level 5, Lesson 2
    In this lecture you will learn how to correctly download, install, and configure modern Java (JDK 25) and the professional development environment IntelliJ IDEA. We will go step by step through installation on Windows, macOS, and Linux, attaching the JDK to a project, key interface elements, and typical mistakes that beginners may encounter.
    Available
  • Creating your first project in IntelliJ IDEA

    JAVA 25 SELF
    Level 5, Lesson 3
    In this lecture, you will learn how to create your first Java project in IntelliJ IDEA: from launching the IDE and choosing a JDK to writing and running a "Hello, World!" program. You will understand the project structure, learn how to create classes correctly, run code, and avoid common beginner mistakes.
    Available
  • Java project structure: src, package, classpath

    JAVA 25 SELF
    Level 5, Lesson 4
    In this lecture, you’ll learn how to properly organize a Java project structure: why the src folder is needed, how packages ( package) work, what the classpath is, how to use import, and why it’s important to follow file and class naming conventions. All with examples, practical tips, and a breakdown of common mistakes!
    Available
  • Installing the CodeGym plugin for IntelliJ IDEA

    JAVA 25 SELF
    Level 5, Lesson 5
    In this lecture you’ll learn how to find, install, and configure the official CodeGym plugin for IntelliJ IDEA: where to get it, how to sign in, how to solve tasks right inside the IDE, and what to do with common errors. The CodeGym plugin is your bridge between the learning platform and a professional development environment, making the process of learning Java even more convenient!
    Available
  • How IT Companies Work

    JAVA 25 SELF
    Level 5, Lesson 6
    In this lecture, you will learn how modern IT companies are organized: how they differ from other businesses, how they work with stock and investment, why rapid growth is more important than profit, and how modern product development is structured. Real-life examples, interesting facts, and illustrations will help you understand how the high-tech industry operates and evolves.
    Available
  • Learning to program at CodeGym

    JAVA 25 SELF
    Level 6, Lesson 0
    Discover how CodeGym turns learning to program into an exciting adventure: interactive tasks, instant feedback, community support, and tons of practice. Here you don’t just study — step by step you become a real developer, gaining the knowledge and experience needed to start a career in IT!
    Available
  • 1
  • 2
  • 3
  • 4
  • 5
  • ...
  • 30
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