What happens if two threads access a non-synchronized method of the same object?

Last Updated :
Discuss
Comments

What happens if two threads access a non-synchronized method of the same object?

One thread waits

Both can execute concurrently

Compilation error

JVM throws exception

Share your thoughts in the comments