Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Java
10.1k+ articles
Competitive Programming
2.3k+ articles
Misc
2.1k+ articles
java-interfaces
77 articles
Java-Constructors
43 articles
Java-Competitive-Programming
8 articles
Java-Generics
10 posts
Popular Articles
Recent Articles
Type-Safety and Type-Casting in Java Generics
Last Updated: 07 June 2023
Generics means parameterized types. The idea is to allow type (Integer, String, … etc., and user-defined types) to be a parameter to metho
...read more
Java
Java-Generics
Restrictions on Generics in Java
Last Updated: 14 May 2023
In Java, Generics are the parameterized types that allow us to create classes, interfaces, and methods in which the type of data they are de
...read more
Java
Java-Generics
Java Generics to Code Efficiently in Competitive Programming
Last Updated: 10 May 2022
Templates are the foundation of generic programming, which involve writing code in a way that is independent of any particular type. These p
...read more
Misc
Java
Competitive Programming
Java-Generics
Java-Competitive-Programming
DSA
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Java
10.1k+ articles
Competitive Programming
2.3k+ articles
Misc
2.1k+ articles
java-interfaces
77+ articles
Java-Constructors
43+ articles
Java-Competitive-Programming
8+ articles
Generic Constructors and Interfaces in Java
Last Updated: 28 January 2021
Generics make a class, interface and, method, consider all (reference) types that are given dynamically as parameters. This ensures type saf
...read more
Java
Java-Constructors
java-interfaces
Java-Generics
Generic Class Hierarchies in Java
Last Updated: 17 May 2021
Generic means parameterized types introduced in java5. These help in creating classes, interfaces, methods, etc. A class or method which wor
...read more
Java
Technical Scripter
Technical Scripter 2020
Java-Generics
Generic Map In Java
Last Updated: 29 October 2020
Java Arrays store items in an ordered collection and the values can be accessed using the index(an integer). Whereas HashMap stores as a Key
...read more
Java
Java-Generics
Generic Set In Java
Last Updated: 24 October 2020
The Set interface is present in java.util package. It is basically a collection of objects with no duplicate objects that means there can be
...read more
Misc
Java
Java-Generics
Generic Class in Java
Last Updated: 19 July 2023
Java Generics was introduced to deal with type-safe objects. It makes the code stable.Java Generics methods and classes, enables programmer
...read more
Misc
Java
Java-Generics
Generic For Loop in Java
Last Updated: 07 December 2022
When we know that we have to iterate over a whole set or list, then we can use Generic For Loop. Java's Generic has a new loop called for-ea
...read more
Misc
Java
Java-Generics
Generics in Java
Last Updated: 18 April 2025
Generics means parameterized types. The idea is to allow a type (like Integer, String, etc., or user-defined types) to be a parameter to met
...read more
Java
Java-Generics
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !