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 |
Features of Java?
Explain cookies?
Explain about main thread in java?
Why scanner is used in java?
How to implement Singleton
Can we increase size of array?
What is a “stateless” protocol ?
What is the purpose of java?
Can we inherit the constructor in a Class?please give one example.
How to use arraylist in java netbeans?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
Difference between ?System.out.println? and ?System.error.println??