CodeGym /Java Course /Java Core /Useful links from the Professor — 17

Useful links from the Professor — 17

Java Core
Level 7 , Lesson 8
Available

"Well, Amigo, you're one step closer to earning the title of 'junior Java developer'! You're doing well with the theory and practice. Congratulations!"

"Thank you, Professor! But you've probably prepared something interesting for me, right?"

"You guessed it! To start, I can tell you about how I built my first cosmic laser from the extremities of extinct robo-dinosaurs…"

"Maybe next time, Professor?"

"Okay, okay. Here's some home reading then."

Thread synchronization. The synchronized operator

In the initial stages of your training, threads often worked independently of one another. Now that you're familiar with multithreading, you know that different threads can simultaneously interact with and modify the same set of data. To avoid confusion, you need the synchronized operator. We've dedicated a separate extended lesson to this important topic.

Managing threads. Volatile methods and the yield() method

Another detailed lesson is devoted to the volatile keyword and the yield() method, and to rules governing happens-before relationships. You'll learn more about a variety of methods of controlling the flow of a multithreaded program.

Comments (5)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Oliver Heintz Level 18, Mustang, United States
28 February 2021
I sometimes forget that there is supposed to be some plot here about training a robot to help launch the ship back into space.
Daniel Ketcheson Level 28, Canada
14 November 2023
Plot twist! The robot is your brain. Congratulations Kerban!
Andrei Level 41
7 January 2021
Thank you, Professor! Although it would be nice to hear about the cosmic laser some time! :D
Sára Göblová Level 26, Prague, Czech Republic
17 December 2019
great lessons
Ewerton Level 30, Belo Horizonte, Brasil
3 July 2019
Thanks, professor.