CodeGym
Promotion
CodeGym University
Learning
Course
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
  • Quest map
  • Lessons
All quests Java Syntax Java Core Java Multithreading Java Collections JSP & Servlets
All levels Level 0 Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Level 9 Level 10 Level 11 Level 12 Level 13 Level 14 Level 15 Level 16 Level 17 Level 18 Level 19 Level 20 Level 21 Level 22 Level 23 Level 24 Level 25 Level 26 Level 27 Level 28
  • 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
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
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 Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2022 CodeGym
Download App
  • Google Play
  • Huawei AppGallery
  • App Store
MastercardVisa
Programmers Are Made, Not Born © 2022 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.