Sometimes, when we compile our Java source files, we see “unchecked cast” warning messages printed by the Java compiler.
In this tutorial, we're going to take a closer look at the warning message. We'll discuss what this warning means, why we're warned, and how to solve the problem.
Some Java compilers suppress unchecked warnings by default.
Let's make sure we've enabled the compiler's option to print “unchecked”...