Skip navigation

Synchronized methods

Synchronized methods: Managing Threads in Java
Synchronized methods: Managing Threads in Java

A synchronized method includes the synchronized keyword in its header and this is a way to help solve the problem of two threads simultaneously accessing the same critical section of code. For example, you can use this keyword to synchronize the former getID() method and overcome its read-modify-write race condition

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 9m
Duration
6,026
Views
Show More Show Less
Skills covered in this course
Development Tools Developer Programming Languages Java

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now