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
  • Comparator, sorting collections

    Java Multithreading
    Level 6, Lesson 1
    "Hi, Amigo!" "Hi, Bilaabo!" "Today we'll examine a small, but interesting and useful topic: sorting collections." "Sorting? I've heard something about that." "Long ago, every programmer had to be able to write sorting algorithms. Had to be able to and had to write them. But those days are over. Today, writing your own sorting code is considered bad form, just like rewriting anything else that has already been invented ..."
    Available
  • Practice with sorting and using Comparator

    Java Multithreading
    Level 6, Lesson 2
    "Hi, Amigo!"
    Available
  • Shared resources, conflicts, shared access

    Java Multithreading
    Level 6, Lesson 3
    "Hi, Amigo! I want to tell you about sharing resources. Across different threads, naturally. "I keep talking about the problems that happen when working with multiple threads and how to solve them. This doesn't mean that using threads is bad. Threads are a very powerful tool. In fact, they let you make your program faster and even more reliable. The more complex a program is, the more threads and various ..."
    Available
  • Using volatile

    Java Multithreading
    Level 6, Lesson 4
    "Hi, Amigo!" "Hi, Ellie!" "I want to tell you about the volatile modifier. Do you know what that is?" "Something to do with threads. I don't remember exactly.""Then listen up. Here are some technical details for you:""A computer has two types of memory: global (ordinary) memory and memory built into the processor. The built-in processor memory is divided into registers, a first-level cache (L1), second-level cache (L2) ..."
    Available
  • Practice using volatile

    Java Multithreading
    Level 6, Lesson 5
    "Hi, Amigo!"
    Available
  • Mutex and monitor

    Java Multithreading
    Level 6, Lesson 6
    "Hi, Amigo!" "In my previous lessons, I sometimes used the words 'mutex' and 'monitor', now it's time to tell you what they mean." "I'm all ears." "A mutex is a special object for synchronizing threads/processes. It has two possible states: busy and free. Simplying things, a mutex is a boolean variable that can have two values: busy (true) and free (false) ..."
    Available
  • Using synchronized

    Java Multithreading
    Level 6, Lesson 7
    "Hi, Amigo!" "Yes, I'm here, I'm here." "Today, I will tell you about using synchronized in practice." "When a program has many objects and threads, it often happens that multiple threads work with the same object simultaneously. In doing so, the threads interfere with each other." "Yes, I already know this." "So, let's say you have an object being accessed by multiple threads ...."
    Available
  • Difficult tasks using synchronized

    Java Multithreading
    Level 6, Lesson 8
    "Hi, Amigo!"
    Available
  • Concurrency, BlockingQueues (Java 7)

    Java Multithreading
    Level 6, Lesson 9
    "Hi, Amigo!" "Hi, Kim!" "Today, I'm going to tell you about concurrency." "Concurrency is a Java class library that includes special classes that have been optimized for work from multiple threads. This is a very interesting and extensive topic. But today we're just going to get an introduction. The package is called java.util.concurrent package. I'll tell you about a couple of interesting classes ..."
    Available
  • Practice with concurrency

    Java Multithreading
    Level 6, Lesson 10
    "Hi, Amigo!"
    Available
  • Learning to google | Level 6 | Lesson 11

    Java Multithreading
    Level 6, Lesson 11
    "Hi, Amigo!" "Let's continue our lessons on how to google." "Here are some exercises ..:"
    Available
  • Useful links from the Professor — 26

    Java Multithreading
    Level 6, Lesson 12
    "Hello, Professor!" "Hi, Amigo! Today I have prepared just one lesson for you, but I'm sure that you will like it. Let's take a closer look at how the Comparable and Comparator interfaces work."
    Available
  • 1
  • ...
  • 29
  • 30
  • 31
  • 32
  • 33
  • ...
  • 61
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