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

What’s the difference between applets and standalone program?

1049


What is final int?

1024


Can set contain duplicates?

996


What is the difference between the paint() and repaint() methods in java programming?

1187


Is arraylist an object in java?

1165


Can you write a java class that could be used both as an applet as well as an application?

962


According to java operator precedence, which operator is considered to be with highest precedence?

1087


What is an example of a constant variable?

1088


What are constants and how to create constants in java?

986


How is string stored in java?

1061


Explain java coding standards for classes or java coding conventions for classes?

1131


what is recursion in java

1179


Garbage collection in java?

1019


What are the legal operands of the instanceof operator?

1029


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

1079