1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Java

Discussion in 'Software Development' started by redivivus, Aug 1, 2006.

Thread Status:
Not open for further replies.
Advertisement
  1. redivivus

    redivivus Thread Starter

    Joined:
    Mar 30, 2006
    Messages:
    1,458
    Okay. I hate tutorials (atleast hate reading tons and never finding the answer to my question!!!) and i am sort of 'learning java by example / practice.' I have a simple question!

    My understanding is that 'void' functions do not return any value. So when a function calls a void function, does the void function have to finish before the original function continues, or do they go simultaneously? Is there any way to call multiple functions at once to run at the same time like you can do in javascript?

    I have never run into this before so its probably a simple question. :eek:

    Thanks for any input. (y)
     
  2. Chicon

    Chicon

    Joined:
    Jul 29, 2004
    Messages:
    6,650
    Hi redivivus,

    Yes, there's a way in Java to run simultaneous functions. It is called Multithreading.

    On this page, you'll find a well done comprehensible tutorial about Multithreading.

    ;)
     
  3. redivivus

    redivivus Thread Starter

    Joined:
    Mar 30, 2006
    Messages:
    1,458
    Thanks. (y)
     
  4. Chicon

    Chicon

    Joined:
    Jul 29, 2004
    Messages:
    6,650
    You're welcome ! :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/488342

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice