what is the collable collections in java?
Answer Posted / 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 |
Post New Answer View All Answers
What is hashing in java?
Which of the classes will have more memory allocated?
What is the default access specifier for variables and methods of a class?
What is thread life cycle in java?
what is singleton class in java?
Can we inherit a class with private constructor?
What are static variables and functions?
What is passed by reference and pass by value ?
What is the significance of listiterator?
What is difference between arraylist and list in java?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What is java in detail?
What is the instance of an object?
State differences between C and Java?
What is arguments in java?