Pergunta de entrevista da empresa Inspired Entertainment

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

Resposta da entrevista

Sigiloso

29 de set. de 2022

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