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

Explain the hierarchy of java exception classes?

1181


What is serialversionuid?

1151


What is difference between path and classpath variables?

1150


Java Compiler is stored in JDK, JRE or JVM?

1559


What is the main function in java?

1108


How do you sort in java?

1031


What is the purpose of tostring() method in java?

1231


When is the finally clause of a try-catch-finally statement executed?

1136


Why set do not allow duplicates in java?

1183


What is local variable and instance variable?

1101


What is difference between classpath and path variables in java?

1253


What do you understand by private, protected and public?

1092


What is regex in java?

990


Why we go for collections in java?

1023


Why is the main method static?

1210