How to use Generics to write Parameterized Java Class
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 10824
Total Votes: 139 votes
Category: JAVA/Core JAVA
Submitted on: 2013-01-20 07:12:10
Submitted By: Javin Paul
Description:Generic of Java 5 allow you to write parameterized class and method which can provide type safety during compile time. Several example of parameterized classes are present in JDK but when it comes to write your own parameterized class or method, it becomes tricky. This Java tutorial shows you, How to create parameterized class and method in Java. More detail...