posted 16 years ago
Is there code that is the converse of the following which does not rely on an Else clause?
if (animal.equals("cat") )
I thought this might be expressed as something such as the following. This is not valid though.
if not(animal.equals("cat") )
Thanks.