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 do you mean by inner class in java? Explain
What is the final access modifier in java?
Why unicode is important?
Can you extend main method in java?
What is public static?
Which class should you use to obtain design information about an object in java programming?
What is the meaning of flag day?
What are the benefits of operations in java?
What is a local, member and a class variable?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
List down the methods and interfaces of collection class in java.
What is the basic of java?
What is the synonym of string?
What are keywords and reserved words in java?
Java Compiler is stored in JDK, JRE or JVM?