The method If(boolean) is undefined
807589Oct 9 2008 — edited Oct 9 2008"The method If(boolean) is undefined "
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method If(boolean) is undefined for the type TestCalculator
Syntax error, insert ";" to complete Statement
I'm having some trouble using conditional statements in my code for some reason. I've recently had a lot of problems with my JRE's in eclipse and I thought I was finally past them. Could this error be related to something like that?
Do I have to make any special declarations at the beginning of my code invoking the boolean method?
Thanks