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
  • You've reached Level 27

    Java Multithreading
    Level 7, Lesson 0
    You've reached Level 27
    Available
  • Loops (break and return, continue, labels)

    Java Multithreading
    Level 7, Lesson 1
    "Hi, Amigo!" "Today I will tell you about some things that are convenient when working with loops." "The first is the keyword break. If you use this command in the body of a loop, then the loop will terminate immediately when the command is executed. Here's an example ..."
    Available
  • Practice using break and continue

    Java Multithreading
    Level 7, Lesson 2
    "Hi, Amigo!"
    Available
  • DeadLock and its causes

    Java Multithreading
    Level 7, Lesson 3
    "Hi, Amigo!" "Today I'm going to tell you what deadlock is." "Hey, you already told me about something like that." "Yep, I did. But today we'll consider the topic in greater detail." "In the simplest case, deadlock involves two threads and two mutex objects. A mutual lock occurs when ..."
    Available
  • Practice writing your own deadlocks

    Java Multithreading
    Level 7, Lesson 4
    "Hi, Amigo!"
    Available
  • Strategies to avoid deadLock

    Java Multithreading
    Level 7, Lesson 5
    "Hi, Amigo!" "I want to tell you about a couple strategies for avoiding deadlocks." "The best strategy is a thoughtful architecture and a set of rules governing when and in what order you can use locks (acquire mutexes). The classic approach to the problem is to develop a lock hierarchy and establish the rule that certain locks can never be acquired in a state where certain other locks have already been acquired ...."
    Available
  • Practice fixing deadlocks

    Java Multithreading
    Level 7, Lesson 6
    "Hi, Amigo!"
    Available
  • The "wait-notify-notifyAll" strategy

    Java Multithreading
    Level 7, Lesson 7
    "Hi, Amigo!" "I want to dive deep with you regarding wait-notify. The wait-notify methods provide a convenient mechanism for threads to interact. They can also be used to build complex high-level mechanisms for thread interaction ..."
    Available
  • Some nuances

    Java Multithreading
    Level 7, Lesson 8
    "Hi, Amigo!" "And a couple more details. Let's call it practical advice." "Suppose you have a method that's waiting for something and falls asleep until a condition is satisfied ..."
    Available
  • Practice with "wait-notify-notifyAll"

    Java Multithreading
    Level 7, Lesson 9
    "Hi, Amigo!"
    Available
  • Other details about synchronization and multithreading

    Java Multithreading
    Level 7, Lesson 10
    "Hi, Amigo!" "There's this huge topic out there—the Java Memory Model. Basically, you don't have to know about it yet, but it will be helpful to hear about it." "To eliminate all potential problems, Java changed its memory management mechanism. Now memory isn't simply divided into a thread's local cache and global memory—the mechanism is even better ..."
    Available
  • Learning to google. (How to use a mask to get a list of files)

    Java Multithreading
    Level 7, Lesson 11
    "Hi, Amigo!" "Let's continue our lessons on how to google." "Here are some exercises ..."
    Available
  • 1
  • 2
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym