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.

  1. December 11th, 2009
    Views:
    60,458
Page 1 of 16 12311 ... LastLast
Threads 1 to 50 of 788

Forum: Loops & Control Statements

for loops, while loops, switch, if-then-else..

  1. Breaking If/Else Statements

    Started by aussiemcgr, August 12th, 2010 10:19
    • Replies: 9
    • Views: 28,544
    August 27th, 2010, 15:28 Go to last post
    • Replies: 13
    • Views: 20,883
    October 11th, 2012, 12:37 Go to last post
    • Replies: 12
    • Views: 19,716
    September 15th, 2011, 11:50 Go to last post
  2. Nested for loops

    Started by Fordy252, November 1st, 2010 18:54
    • Replies: 2
    • Views: 17,262
    December 8th, 2012, 22:43 Go to last post
  3. Odd Even - For loop

    Started by clevel211, October 11th, 2010 01:15
    • Replies: 2
    • Views: 13,753
    October 11th, 2010, 20:09 Go to last post
  4. User Input Loop

    Started by cfmonster, August 17th, 2009 00:14
    • Replies: 7
    • Views: 13,419
    August 24th, 2009, 13:52 Go to last post
  5. Lightbulb Loop Patterns (triangles) [Beginner]

    Started by me1010109, October 24th, 2010 04:11
    • Replies: 2
    • Views: 12,247
    October 24th, 2010, 17:13 Go to last post
  6. How to make a program quit?

    Started by copelandtml, February 8th, 2011 15:42
    • Replies: 6
    • Views: 12,142
    February 16th, 2011, 00:10 Go to last post
  7. Breaking out of multiple loops

    Started by helloworld922, June 30th, 2009 12:34
    • Replies: 4
    • Views: 11,560
    July 1st, 2009, 14:52 Go to last post
  8. While Loop Exit with String

    Started by Zaroth, November 8th, 2009 00:55
    • Replies: 8
    • Views: 11,223
    November 9th, 2009, 15:20 Go to last post
  9. [SOLVED] Number Pyramid Question

    Started by t-rank, October 18th, 2010 00:24
    • Replies: 2
    • Views: 11,221
    December 2nd, 2013, 07:44 Go to last post
    • Replies: 4
    • Views: 10,737
    October 17th, 2010, 18:38 Go to last post
  10. for loop and while loop problems

    Started by Pulse_Irl, February 11th, 2010 07:43
    • Replies: 4
    • Views: 10,249
    May 3rd, 2010, 02:09 Go to last post
  11. Talking Checkerboard (asterisk pattern) problem

    Started by jjb1989, July 14th, 2012 15:51
    • Replies: 18
    • Views: 9,881
    September 8th, 2013, 20:52 Go to last post
  12. Java for loops to count vowels/consonants usinf the logic of the main

    Started by willie lee, April 7th, 2012 09:18
    2 Pages
    1 2
    • Replies: 41
    • Views: 9,654
    June 18th, 2012, 04:01 Go to last post
  13. switch with Enums

    Started by chronoz13, October 6th, 2009 10:36
    • Replies: 17
    • Views: 9,124
    October 8th, 2009, 20:08 Go to last post
  14. Can a for loop work with random number?

    Started by humdinger, January 8th, 2010 09:30
    • Replies: 7
    • Views: 8,995
    January 10th, 2010, 21:06 Go to last post
  15. help with a loop (pyramid of numbers)

    Started by ande6870, October 7th, 2010 18:57
    • Replies: 2
    • Views: 8,885
    October 7th, 2010, 20:17 Go to last post
  16. Equilateral Triangle Using nested for loop

    Started by uchizenmaru, January 14th, 2010 08:55
    • Replies: 2
    • Views: 8,652
    January 14th, 2010, 21:01 Go to last post
  17. Start code again?

    Started by mortalc, May 26th, 2010 15:11
    • Replies: 12
    • Views: 8,130
    May 27th, 2010, 19:26 Go to last post
  18. need help with Vending Machine code...

    Started by mia_tech, March 6th, 2009 18:14
    • Replies: 3
    • Views: 7,955
    April 20th, 2009, 05:24 Go to last post
  19. what is charAt(0) ?

    Started by low1988, October 10th, 2009 03:48
    • Replies: 5
    • Views: 7,356
    October 11th, 2009, 10:03 Go to last post
  20. While (return value will terminate an iteration or loop?)

    Started by chronoz13, December 25th, 2009 02:25
    • Replies: 3
    • Views: 7,256
    April 27th, 2010, 09:05 Go to last post
  21. Missing Return Statement in If-elseIf-else

    Started by chronoz13, October 12th, 2009 06:38
    • Replies: 2
    • Views: 7,090
    October 12th, 2009, 07:01 Go to last post
  22. if (x.equals("Hello")) or "World"

    Started by Gugubo, August 18th, 2013 17:49
    • Replies: 2
    • Views: 6,879
    August 18th, 2013, 18:10 Go to last post
  23. FLAMES GAME

    Started by arben, August 29th, 2011 00:31
    • Replies: 4
    • Views: 6,734
    January 2nd, 2013, 06:24 Go to last post
    • Replies: 5
    • Views: 6,570
    December 13th, 2009, 18:10 Go to last post
  24. unreachable statement?

    Started by chronoz13, September 11th, 2009 05:14
    • Replies: 1
    • Views: 6,559
    September 11th, 2009, 10:06 Go to last post
  25. Pattern printing in Java

    Started by arunjib, March 10th, 2011 09:15
    arunjib, pattern
    • Replies: 4
    • Views: 6,522
    July 1st, 2011, 16:05 Go to last post
  26. [SOLVED] Using for loop to calculate sine function (factorial issue)

    Started by Actinistia, March 11th, 2011 14:17
    • Replies: 2
    • Views: 6,307
    March 11th, 2011, 14:38 Go to last post
  27. how do i draw a shape with nested loops?

    Started by Kilowog, September 24th, 2009 14:54
    • Replies: 1
    • Views: 6,227
    September 25th, 2009, 00:14 Go to last post
    • Replies: 11
    • Views: 6,115
    January 31st, 2016, 10:35 Go to last post
  28. help on simple accumulator

    Started by Khalon, January 14th, 2010 14:54
    • Replies: 2
    • Views: 6,093
    January 14th, 2010, 22:39 Go to last post
  29. Need a loop for rows and columns

    Started by Ceasar, October 8th, 2009 23:22
    • Replies: 8
    • Views: 6,001
    October 9th, 2009, 17:47 Go to last post
  30. Unhappy [SOLVED] Switch statement question

    Started by shikh_albelad, May 30th, 2009 09:23
    • Replies: 5
    • Views: 5,969
    May 31st, 2009, 05:13 Go to last post
  31. Smile ASCII Triangle

    Started by physics, March 11th, 2010 17:44
    • Replies: 1
    • Views: 5,968
    March 27th, 2010, 06:39 Go to last post
  32. Simple encryption/ decryption problem

    Started by searchformeaning, May 6th, 2012 13:08
    • Replies: 2
    • Views: 5,717
    May 7th, 2012, 01:34 Go to last post
  33. What is wrong with my code? JAVA-Eclipse

    Started by bespinoz, March 20th, 2011 18:52
    • Replies: 11
    • Views: 5,510
    March 10th, 2013, 04:24 Go to last post
  34. Return from incrementing for loop?

    Started by mindlessn00b, October 3rd, 2010 14:22
    • Replies: 16
    • Views: 5,204
    October 4th, 2010, 12:15 Go to last post
  35. Limiting Letters in a String

    Started by 0w1, July 22nd, 2013 11:23
    • Replies: 4
    • Views: 5,158
    September 9th, 2013, 05:40 Go to last post
  36. Difference ++j and J++

    Started by rayan2004, November 30th, 2012 03:46
    • Replies: 4
    • Views: 5,050
    December 4th, 2012, 00:42 Go to last post
  37. Simple Calculator

    Started by JKDSurfer, March 21st, 2011 18:13
    • Replies: 3
    • Views: 4,886
    June 28th, 2011, 13:37 Go to last post
  38. loop and a half

    Started by Brain_Child, November 21st, 2009 06:12
    • Replies: 2
    • Views: 4,744
    January 22nd, 2010, 02:52 Go to last post
  39. Minimum value of objects in ArrayList

    Started by Sputnik, October 23rd, 2010 02:54
    • Replies: 2
    • Views: 4,638
    October 23rd, 2010, 13:20 Go to last post
  40. Array with Switch Construct

    Started by WhiteSoup12, February 5th, 2011 23:06
    • Replies: 4
    • Views: 4,585
    February 7th, 2011, 00:41 Go to last post
  41. program that determines largest and smallest

    Started by Reverie, November 21st, 2011 17:44
    • Replies: 4
    • Views: 4,433
    February 26th, 2012, 19:41 Go to last post
  42. Simple Nested Do/While Loop

    Started by Farmer, July 23rd, 2011 22:10
    • Replies: 2
    • Views: 4,184
    July 25th, 2011, 08:31 Go to last post
  43. Programming a power table

    Started by Reynalto, November 16th, 2010 19:02
    • Replies: 3
    • Views: 4,158
    November 16th, 2010, 19:51 Go to last post
  44. Looping through a multidimensional array

    Started by MysticDeath, October 11th, 2009 17:09
    • Replies: 2
    • Views: 4,103
    October 11th, 2009, 17:41 Go to last post

Page 1 of 16 12311 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

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