What is type as generic in Java?

Generics means parameterized types . The idea is to allow type (Integer, String, … etc., and user-defined types) to be a parameter to methods, classes, and interfaces. Using Generics, it is possible to create classes that work with different data types.

Sizin İçin Seçtik  What is NSA and SA in 5G?

Leave a Reply

Your email address will not be published. Required fields are marked *