Part 09 - Concurrency - Synchronized blocks and methods (Multithreading in Java) Java Cert. 1Z0-819

preview_player
Показать описание
This is the part 9 of Chapter 18 (Concurrency) of OCP Java SE 11 Developer Study Guide (1Z0-815, 1Z0-816, 1Z0-817, 1Z0-819). The book written by Jeanne Boyarsky and Scott Selikoff. If you have not gone through the previous parts I would strongly recommend to go through those to get your multi threading concepts rock solid.

Even though this is specific to Java Certification but this can be used to understand Java Multithreading and concurrency. If you have any question feel free to ask me via comments.

Subscribe channel to get notified for future videos.

Playlist of Concurrency videos.

Link to Playlist of all certification related videos:

This videos contains:
1. Synchronized block and methods

If you want me to cover any specific topic please comment below. Happy learning and good luck!

Thanks.
Harry
Рекомендации по теме
Комментарии
Автор

Hi Harry, thanks for wonderful presentation of how th synchronized block actually works,
Should we need to add AtomicInteger for counter variable as the code itself in the synchronized block
then that process itself locked on other thread will execute the block
read --> increment --> write back -> print the value.

abivarghese
welcome to shbcf.ru