Help the world stop coronavirus! Stay home!

Prev Next

Java / Modifiers

What happens when a main method declared as synchronized?

When main() declared as synchronized, no two threads can access the main() at the same time.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Methods

Comments & Discussions