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


Please Help Members By Posting Answers For Below Questions

What is the difference between array list and vector in java?

509


what is the significance of listiterator in java?

624


What is stack class in java?

547


What is the use of conditional statement?

564


Is 0 a real number?

590






Can you explain inner class.

596


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

3193


What are the methods used to implement for the key object in the hash map?

568


Are generics important java?

526


Can you access the private method from outside the class?

512


Can java object be locked down for exclusive use by a given thread?

586


What class of exceptions are generated by the java run-time system?

637


Which one of the following suits the description of a string better: derived or primitive?

514


How to perform linear search in java?

568


What is the purpose of the enableevents() method?

585