>> Sunday, June 10, 2012
|Generics in Java|
Now in this post we are learning how to iterate the Generic type of list.
Normally we used to iterate any list we take the help of Iterator. If it is normal list as well we can iterate the Generic type.
Lets take a bean class of User with a constructor and setters and getters methods.
Here the User having the String type name and link variables.