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 |
What are the different types of java?
How does Vector implement synchronization?
Is string serializable in java?
How many types of variables are there?
What is the range of a character variable?
What is the size of string?
Can you inherit a constructor java?
Difference between flush() and commit() in hibernate?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
what questions are been asked ??? for interview in apti
Does collectionutils isempty check for null?
what is tempplate pattern