Java Java Basic Statement

    if

    1. Java if statement
    2. Java if statement find maximum with three double numbers
    3. Java if statement check if a character is vowel or consonant
    4. Java if statement check social security number format
    5. Java if statement convert decimal to hex
    6. Java if statement convert letter grade to number
    7. Java if statement display leap years
    8. Java if statement display random month


    9. Java if statement find numbers divisible by 5 and 6
    10. Java if statement find numbers divisible by 5 or 6, but not both
    11. Java if statement find the factors of an integer
    12. Java if statement get days of a month
    13. Java if statement guess random number once
    14. Java if statement sort three integers
    15. Java if statement check factor
    16. Java if statement check Negative, Positive and Zero Values


    17. Java if statement compare integers
    18. Java if statement compare two integers input by the user
    19. Java if statement count vowels and consonants
    20. Java if statement Question 1
    21. Java if statement Question 2
    22. Java if statement Question 3
    23. Java if statement Question 4
    24. Java if statement Question 5
    25. Java if statement Question 6

    break

    1. Java break statement
    2. Java break statement Question 1
    3. Java break to anywhere in Java code

    continue

    1. Java continue statement
    2. Java continue statement Question 1

    do...while

    1. Java do while loop statement
    2. Java do while loop create a console menu selection
    3. Java do while loop output number from 1 to 10
    4. Java do while loop read console input until the input is 0
    5. Java do while loop convert decimal number to binary number
    6. Java do while loop invert digit

    for each

    1. Java for each loop statement
    2. Java for each loop through List
    3. Java for each loop sum integers in an array

    for

    1. Java for loop statement
    2. Java for loop variations
    3. Java for loop calculate compound value
    4. Java for loop calculate e natural log
    5. Java for loop calculate factorial
    6. Java for loop calculate fibonacci sequence
    7. Java for loop calculate PI
    8. Java for loop calculate product of odd integers from 1 to 15
    9. Java for loop calculate integer power
    10. Java for loop check if a number is a prime number
    11. Java for loop check palindrome number
    12. Java for loop compound interest calculations
    13. Java for loop display calendar
    14. Java for loop display pattern 1
    15. Java for loop display pattern 2
    16. Java for loop display pattern 3
    17. Java for loop display pattern 4
    18. Java for loop display pattern 5
    19. Java for loop display pattern 6
    20. Java for loop display pattern 7
    21. Java for loop display pattern 8
    22. Java for loop display the ASCII character table
    23. Java for loop find all number combinations
    24. Java for loop find Armstrong number
    25. Java for loop find numbers divisible by 5 or 6, but not both
    26. Java for loop find perfect number
    27. Java for loop find the average of a set of numbers
    28. Java for loop find the greatest common divisor
    29. Java for loop output multiplication table
    30. Java for loop output patterns
    31. Java for loop print ASCII bar chart in console
    32. Java for loop print shape
    33. Java for loop print shape using nested for loop 1
    34. Java for loop print shape using nested for loop 2
    35. Java for loop print shape using nested for loop 3
    36. Java for loop print shape using nested for loop 4
    37. Java for loop print shape using nested for loop 5
    38. Java for loop print the integers from 1 to 20
    39. Java for loop Question 1
    40. Java for loop Question 2
    41. Java for loop Question 3
    42. Java for loop Question 4
    43. Java for loop Question 5
    44. Java for loop Question 6
    45. Java for loop Question 7
    46. Java for loop read file line by line
    47. Java for loop result of nested for loop
    48. Java for loop reverse a string
    49. Java for loop running sequence, condition part or initialization part?
    50. Java for loop sum a series
    51. Java for loop sum even numbers between 2 and 20
    52. Java for loop sum odd integers between 1 and 99
    53. Java for loop vary the control variable

    return

    1. Java return from a method in the middle without condition
    2. Java return statement

    switch

    1. Java switch statement
    2. Java switch statement check if the letter is a vowel or consonant
    3. Java switch statement convert hex digit to binary
    4. Java switch statement convert letter grade to number
    5. Java switch statement count dice rolling result
    6. Java switch statement display random month
    7. Java switch statement find the number of days in a month
    8. Java switch statement get days of a month
    9. Java switch statement get month name from number
    10. Java switch statement Question 1
    11. Java switch statement Question 2

    while

    1. Java while loop statement
    2. Java while loop calculate factorial
    3. Java while loop calculate the sum of the integers from 1 to 10
    4. Java while loop check palindromes
    5. Java while loop convert binary number to decimal number
    6. Java while loop convert decimal number to octal number
    7. Java while loop count from one to ten
    8. Java while loop display pattern
    9. Java while loop find automorphic number
    10. Java while loop find even fibonacci numbers
    11. Java while loop find largest prime factor
    12. Java while loop find palindrome product
    13. Java while loop find prime numbers
    14. Java while loop find the factors of an integer
    15. Java while loop find the greatest common divisor
    16. Java while loop get longest common prefix between two String values
    17. Java while loop guess random number multiple times
    18. Java while loop predict the future tuition
    19. Java while loop print the integers from 1 to 20
    20. Java while loop reverse an integer
    21. Java while loop statement calculate prime number
    22. Java while loop sum the digits in an integer

    try catch

    1. Java try-with-resources Close a Stream