Mani
Quaerendo Invenietis
Originally posted by Horatio Westock:
Did you remember to import java.lang.Character?
Originally posted by Ernest Friedman-Hill:
By definition, java.lang.* is implicitly imported into every compilation unit. This should absolutely not be necessary. If you're using an environment where it actually is, I'd be truly interested to hear about it.
java amateur
Originally posted by Ernest Friedman-Hill:
By definition, java.lang.* is implicitly imported into every compilation unit. This should absolutely not be necessary. If you're using an environment where it actually is, I'd be truly interested to hear about it.
It's more likely that you've created your own class named "Character" and have it sitting on your CLASSPATH somewhere. Naming a class the same as any class in java.lang is a double plus ungood idea.
Originally posted by Jason Batchelder:
I know that it's bad form for a lower case letter begining a class name, however tester is not the final class. I just put things in there to get them to work. Usually no one see this class.