Chriss
Chriss

Reputation: 995

Call four operation at the same time

I have four methods that I should execute them at the same time so,My question is:

Is it possible in java to call four operation at the same time(in parallel manner)?

Upvotes: 1

Views: 91

Answers (1)

Robin Dijkhof
Robin Dijkhof

Reputation: 19288

If those methods take a long time, you should create multiple threads. If they don't, you can run them one by one.

Upvotes: 2

Related Questions