System.out.println( isTriangle ? TRIANGLE_EXISTS : TRIANGLE_DOES_NOT_EXISTS );
Why my ternary bugs out after ":" ?
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Kristina Pfeifer
21 February, 19:12
Dont know how you defined your variables but I guess you need to delete the last "S" in your "TRIANGLE_DOES_NOT_EXISTS"
0
Thomas
18 February, 12:46
Typo after the colon?
0