Pregunta de entrevista de Inspired Entertainment

A class having two synchronized methods, one static and other non static. Can two threads concurrently access this object?

Respuesta de la entrevista

Anónimo

29 sep 2022

Yes we can, Static method is associated with the class and non-static one is associated with the instance