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 |
Nullpointer exception is a very common exception. Why is it not made as a checked exception?
enlist some features of jdk.
What is the difference between throw and throws?
write a program that list all permutations of ABCDEF in which A appears before B?
What is the range of the char type?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
How do u pass data from one jsp to another jsp?
Which is better stringbuffer or stringbuilder?
What Is Composition?
how to write a program for sending mails between client and server
Explain about instanceof operator in java?
can we create a instance for intwerface?