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.


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

Results 1 to 2 of 2

Thread: if statements and parsing errors

  1. #1
    Junior Member
    Join Date
    Aug 2021
    Thanked 0 Times in 0 Posts

    Exclamation if statements and parsing errors

    hey guys.

    I am new to programming and have to write code for a course im doing in drafting and engineering. The code i have written includes if statements and brings up a parsing error. I think this is to do with a closing } thats missing. I cant seem to figure out where it goes......Or im on the wrong path completely. The course is online so its hard to get help when needed.

    Its a nested if statement in there aswell.

    Is there somewhere i can get my code looked at??

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,693 Times in 2,643 Posts

    Default Re: if statements and parsing errors

    Post it here, wrapped in code tags. Also copy the full text of the error message and paste it here.

    To wrap your code with code tags:


    to get highlighting and preserve formatting.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 7
    Last Post: May 8th, 2014, 12:51 PM
  2. XMI parsing
    By salvogsm80 in forum What's Wrong With My Code?
    Replies: 7
    Last Post: April 4th, 2014, 10:23 AM
  3. Parsing
    By benptz in forum Java Theory & Questions
    Replies: 1
    Last Post: April 1st, 2014, 08:42 AM
  4. Questions about if statements and if-else statements
    By chakana101 in forum Java Theory & Questions
    Replies: 5
    Last Post: March 23rd, 2014, 05:37 PM
  5. Replies: 3
    Last Post: March 6th, 2012, 03:50 AM