Results 1 to 3 of 3
  1. #1
    raghava is offline Member
    Join Date
    May 2012
    Posts
    1
    Rep Power
    0

    Question pls any one tell me the answer for this question

    in your prog if you start a thread(suppose t1.start()) actually 2 threads are running in your thread in the process 1 is you started thread(t1.start()) 2nd one is main() thread i want to wait() the main() thread how it will do

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,960
    Rep Power
    8

    Default Re: pls any one tell me the answer for this question

    What have you tried? What are you trying to accomplish?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,236
    Rep Power
    19

    Default Re: pls any one tell me the answer for this question

    Forum Rules
    Particularly the third paragraph.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Simple question! Please answer!
    By Asvin in forum New To Java
    Replies: 4
    Last Post: 11-09-2011, 01:53 AM
  2. please answer some basic question if you can
    By togaurav in forum New To Java
    Replies: 17
    Last Post: 04-16-2011, 08:23 AM
  3. Replies: 12
    Last Post: 07-27-2010, 09:40 AM
  4. Answer To Previous Question
    By herbozo2003 in forum Java Servlet
    Replies: 0
    Last Post: 03-02-2009, 02:22 AM
  5. Plz answer this question ...
    By raghu2114 in forum Advanced Java
    Replies: 2
    Last Post: 09-19-2008, 06:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •