what is the collable collections in java?

Answers were Sorted based on User's Feedback



what is the collable collections in java?..

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 is the collable collections in java?..

Answer / satya

thanq divya

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Tell us something about an iterator.

0 Answers  


How to create a base64 decoder in java8?

0 Answers  


What exactly is a .class file?

0 Answers  


What is an array and a vector? How they different from each other?

4 Answers  


Can we have this () and super () together?

0 Answers  






i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance

2 Answers  


Consider that class classA, abstract class classB, and final classC have been defined.Which one of the following is correct? 1. classA extends classC implements classB 2. class A extends classB, classC 3. classA extends classB 4. classB implements classC

2 Answers  


Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?

1 Answers   Flextronics,


Is space a char?

0 Answers  


Can I declare class as static or private?

0 Answers  


What is protected in java?

0 Answers  


How do you clear a list in java?

0 Answers  


Categories