Did you use the javac program's -Xlint option?
What were the messages that the javac program printed out when you compile the program?
Type: Posts; User: Norm
Did you use the javac program's -Xlint option?
What were the messages that the javac program printed out when you compile the program?
The code has some statements that the compiler wants to give warning messages for.
To see the warning messages compile the code with the javac -Xlint compiler option.
An Example:...