Muskviewer
Explore X anonymously
About Us
Privacy Policy
Removal Request
Java2blog
@java2blog
2 years
class A { synchronized void m1() { System.out.println("In m1 A"); } void m2() { System.out.println("In m2 A"); } } There are two threads T1 and T2. T1 is accessing m1 method. Will T2 be able to access m2 method on the same instance at the same time?
1
1
1
Replies
Java2blog
@java2blog
2 years
You can find answer over here:
https://t.co/L00Kes3Hx3
0
1
1