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 |
How do you clear a method in java?
How will you add panel to a frame?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
explain System.out.println()
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
What is difference between static and final?
What are constants?
List the different types of classloaders in java.
What is variable and rules of variable?
What are triggers in DB? Explain their types. How do they work?
Can It is possible to synchronize the constructor of a Java Class?
What is collection class in java?