what is the collable collections in java?
Answers were Sorted based on User's Feedback
Answer / divya
public interface Callable<V>A task that returns a result
and may throw an exception. Implementors define a single
method with no arguments called call.
The Callable interface is similar to Runnable, in that both
are designed for classes whose instances are potentially
executed by another thread. A Runnable, however, does not
return a result and cannot throw a checked exception.
The Executors class contains utility methods to convert
from other common forms to Callable classes.
| Is This Answer Correct ? | 9 Yes | 3 No |
In how many ways we can the thread? in java
What does += mean in java?
Can substring create new object?
What are the main uses of java?
What is the default modifier in Interface?
How many arguments can a method have java?
what is the difference between Java Command Line and C command Line?
What is the method used to get the absolute value of a number?
What is the symbol for space?
Is java platform independent?
How big is a boolean?
What is the difference between and ?