Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag 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
SOLUTION
Avatar of CPColin
CPColin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of dpearson
dpearson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial