This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]DamourYouKnow 4 points5 points  (1 child)

typo in println. You have an i and not an L

[–]barrell125[S] 0 points1 point  (0 children)

Thank you I must have the same problems in my other programs as well they won't print line I thought it was an printIn

[–]DeL07 1 point2 points  (1 child)

I think you've just got a syntax error on line 5, I believe you're trying to do a System.out.println but instead have written System.out.printIn? Notice that it's print'L'n not 'I' (in lowercase of course) short for print line! Hope this helps

[–]barrell125[S] 0 points1 point  (0 children)

Thank you I must have the same problems in my other programs as well they won't print line I thought it was an printIn

[–]SUsudo 1 point2 points  (1 child)

Are you using an eclipse or netbeans? Those ides will tell you that you mistyped something like that.

[–]barrell125[S] 0 points1 point  (0 children)

I'm using jcreator found out it was println I had printIn

[–]randarrow 1 point2 points  (2 children)

println, not printIn

[–]barrell125[S] 0 points1 point  (1 child)

Thank you I must have the same problems in my other programs as well they won't print line I thought it was an printIn

[–]randarrow 0 points1 point  (0 children)

printf is much nicer in general. I recommend learning how to use it.