Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Simultaneously running statements

  1. #1
    Junior Member CrashOverride's Avatar
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Simultaneously running statements

    Is it possible to run two while statements at the same time, or two statements in general at the same time? If so can you please explain how.


  2. #2
    Junior Member
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Simultaneously running statements

    do you mean looping? yes you can use two loops at the same time in the program..
    Any Reply is Appreciated

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Simultaneously running statements

    Quote Originally Posted by CrashOverride View Post
    Is it possible to run two while statements at the same time, or two statements in general at the same time? If so can you please explain how.
    Suggested reading: Lesson: Concurrency (The Java™ Tutorials > Essential Classes)

Similar Threads

  1. Replies: 2
    Last Post: May 22nd, 2011, 12:48 PM
  2. How to use PrintSteam and BufferedReader Simultaneously
    By bigmac025 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 29th, 2011, 07:30 AM
  3. Send and Receive data from socket simultaneously
    By bigmac025 in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: March 25th, 2011, 05:18 PM
  4. Replies: 1
    Last Post: December 6th, 2010, 10:09 AM
  5. Need help with While and For Statements
    By duckman in forum Loops & Control Statements
    Replies: 2
    Last Post: October 20th, 2009, 08:42 PM

Tags for this Thread