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 the difference between array list and vector in java?
what is the significance of listiterator in java?
What is stack class in java?
What is the use of conditional statement?
Is 0 a real number?
Can you explain inner class.
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What are the methods used to implement for the key object in the hash map?
Are generics important java?
Can you access the private method from outside the class?
Can java object be locked down for exclusive use by a given thread?
What class of exceptions are generated by the java run-time system?
Which one of the following suits the description of a string better: derived or primitive?
How to perform linear search in java?
What is the purpose of the enableevents() method?