Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the main concepts of oops in java?

1747


Which api is provided by java for operations on set of objects?

1461


What is floating data type?

983


Can we restart a dead thread in java?

987


When is the finalize() called? What is the purpose of finalization?

1080


Can we create a constructor in abstract class?

982


What is the use of parse function in java?

984


What do you mean by static variable?

1064


Why singleton is not thread safe?

993


What is the difference between class & object?

1018


How do you declare an array in java?

1062


What is a stringbuilder?

918


What are the procedures?

1061


What is return code?

1008


What does @override mean?

1209