Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Threads for Beginners

Threads for Beginners

Scheduled Pinned Locked Moved Java
javaquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DRAYKKO777
    wrote on last edited by
    #1

    I'm teaching myself Java with one of the "Teach Yourself Java..." books, and I'm up to the chapter on Threads. I want to be sure I understand the concept properly. Is it safe to say that first you start the thread which then calls the run() method which houses the actual method you want to be threaded? Please let me know if I have this concept correct. Thanks Dre---

    L 1 Reply Last reply
    0
    • D DRAYKKO777

      I'm teaching myself Java with one of the "Teach Yourself Java..." books, and I'm up to the chapter on Threads. I want to be sure I understand the concept properly. Is it safe to say that first you start the thread which then calls the run() method which houses the actual method you want to be threaded? Please let me know if I have this concept correct. Thanks Dre---

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      correct. :)

      Luc Pattyn [My Articles] Nil Volentibus Arduum

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups