permaculture playing cards*
The moose likes Threads and Synchronization and the fly likes Executor Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Executor Interface" Watch "Executor Interface" New topic
Author

Executor Interface

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

  • Executor Implementation


  • t1
    t2

  • Withou Executor Implementation


  • t1
    t2

    I don't understand use of Executor.In both cases same output, then why will anyone implement this ?


    My one regret in life is that I am not someone else.
    - Woody Allen
    meeta gaur
    Ranch Hand

    Joined: Dec 05, 2012
    Posts: 305

    Oh, got it.I didn't use implementer class.
     
     
    subject: Executor Interface
     
    Similar Threads
    How to make one thread die before another thread
    ThreadGroup question
    Confusion in threads
    Thread doubt