Did you create a new class named String? If so, rename it.
What version of Java are you running? How are you compiling this?
Type: Posts; User: KevinWorkman
Did you create a new class named String? If so, rename it.
What version of Java are you running? How are you compiling this?
Please post the full text of the error message, and show us exactly which line is throwing the Exception (since line numbers on the forum might not be the line numbers on your machine).