Prev Next

Java / Generics

What is raw type in Java?

Raw type refers to generic type without specifying any parametrized type. For example, List is a raw type while List is a parameterized type. Raw types are retained for the backward compatibility to support code developed in older Java versions.

More Related questions...

Show more question and Answers...


Comments & Discussions