Avatar of gudii9
gudii9
Flag for United States of America asked on

java.util.concurrent.Callable way of creating threads

Hi,

To create thread i am only familiar with 2 ways.
1. extending Thread class
2. implementing Runnable interface.

I am not familiar with below third method
java.util.concurrent.Callable way of creating threads

When this 3rd way is introduced and what are advantaged and disadvantages of using it over other two ways. please advise
JavaJava EEJava App ServersJSPWeb Development

Avatar of undefined
Last Comment
dpearson

8/22/2022 - Mon
SOLUTION
CPColin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
dpearson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy