Skip to content

W3schools

Subscribe Youtube For Video Tutorials
  • Academics
    • Physics
    • Chemistry
    • Math
    • Biology
    • English
    • Hindi
  • Tutorials
    • Quartz scheduler
    • Log4j
    • JUnit
    • Java Mail
    • Java Generics
    • JAXB
    • Jsoup
    • JSON
    • XML Parser
    • Data structure
  • Java
    • Java
    • Collection framework
    • Java date time api
    • Java regex
    • Design patterns
  • Android
  • Servlet
    • JSP
  • Spring
    • Spring
    • Spring AOP
    • Spring DI
    • Spring MVC
    • Spring spel
    • Spring boot
    • Spring security
  • Hibernate
  • WS
    • Stories
  • Python
  • Web
    • Ajax
    • HTML
    • CSS
    • Javascript
    • jQuery
      • jQuery UI
    • PHP
    • TypeScript
    • ReactJS
    • Backbone.js
    • Bootstrap
      • Bootstrap 4
    • XML
      • XML DOM
      • XPath
      • XQuery
      • XSD
      • XSLT
  • Angular
    • AngularJS
    • Angular 7 Tutorial
    • Angular 8 Tutorial
  • DB
    • SQL
    • SQLite
    • MongoDB
    • MySQL
    • Oracle
    • PL/SQL
    • PostgreSQL
    • PouchDB
    • DBMS
  • C
  • More
    • Q&A
    • Quiz
    • Ant
    • CPP
    • JDBC
    • JPA
    • JSF
    • JAR
    • Maven
    • WAR
    • WordPress

Generics terms and naming convention

by

Generics terms and naming conventions makes the generics code easy to understand.

Generics terms:

generics1

Generic naming conventions:

  1. T : It represents type.
  2. E : It represents element.
  3. K – It represents keys.
  4. V – It represents values.
  5. N – It represents numbers.

 
Next Topic: Compile time checking test.
Previous Topic: Generics in java.

 

Categories Generics
Junit test runner
Compile time checking test
Java Generics Tutorial
  • Generics terms and naming convention
  • Compile time checking test
  • ClassCastException at runtime test
  • Wildcard in generics
  • Unbounded wildcard in generics
  • Upper bounded wildcard in generics
  • Lower bounded wildcard in generics
  • Generics class Java
  • Generics method in java
  • Generics constructor

The maximum number of views of this element is reached.
Please contact the webmaster to enable unlimited views.

The maximum number of views of this element is reached.
Please contact the webmaster to enable unlimited views.

The maximum number of views of this element is reached.
Please contact the webmaster to enable unlimited views.

© 2025 W3schools • Built with GeneratePress