Prev Next

Java / Generics

What is SuppressWarnings ("unchecked") in Java?

The SuppressWarning annotation is used to suppress compiler warning for the annotated element. Specifically, the unchecked category allows suppression of compiler warnings generated as a result of unchecked type casts.

More Related questions...

Show more question and Answers...


Comments & Discussions