DEV Community

ChelseaLiu0822
ChelseaLiu0822

Posted on

[java]Asynchronous and synchronous

The call to the method needs to wait for the result to return before continuing the operation is synchronization
The call of the method is asynchronous without having to wait for the result to return
Multithreading can make the method execution asynchronous, and multi-core CPU can improve efficiency

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay