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 |
Can we pass a primitive type by reference in java? How
How do I start learning java?
What is the use of collections in java? How it is implemented in real time applications?
where u use Abstraction and Interface in real time
What do negative exponents mean?
what is the use of thread?Justify it by project point of view
What do you mean by jjs in java8?
What is the Dictionary class?
What is starvation?
What is the difference between a local variable and an instance variable?
what is the reason behind non static method cannot be referenced from a static Context?
What is mysql driver class name?