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...

How can two threads be made to communicate with each other?

Answer Posted / @dania@

Two threads can communicate with each other using
the wait() and notify() , notifyAl() methods. wait()
method tells the thread to wait until another threads
calls notify() method

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between method overloading and overriding.

1015


Does substring create a new object?

945


Is java free for businesses?

1005


What is java dot?

886


What are advantages of using Java?s layout managers than windowing systems?

2316


What is difference between variable declaration and definition?

914


What is java literals?

1048


How can we make a class virtual?

1060


How to perform linear search in java?

897


Which non-unicode letter characters may be used as the first character of an identifier?

960


What is the basic difference between string and stringbuffer object?

1024


How do you sort in ascending order in java?

815


Is class is a data type?

1019


Why is method overloading not possible by changing the return type in java?

943


Write a code to create a trigger to call a stored procedure

907