What is the function of the boolean isCancelled() method of the Future interface?

What is the function of the boolean isCancelled() method of the Future interface?



Answer: Returns true if the thread execution was canceled before it has finished normally.


Learn More :

Multithreading and Concurrent Processing

Learn More Multiple Choice Question :