| Author |
Using generics while creating objects
|
srujana maredugu
Greenhorn
Joined: Jan 10, 2008
Posts: 8
|
|
What is the difference between creating object using Generics in java 1.5. List<String> l=new ArrayList(); and List l=new ArrayList<String>(); [ February 06, 2008: Message edited by: Jaikiran Pai ]
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8145
|
|
Srujana, Welcome to JavaRanch While posting a question please use a meaningful subject line. Doing so, you are more likely to get answers to your questions. I modified the subject line to be meaningful. I'll move this question to our JiG(B) forum where this is more appropriate. [ February 06, 2008: Message edited by: Jaikiran Pai ]
|
[My Blog] [JavaRanch Journal]
|
 |
 |
|
|
subject: Using generics while creating objects
|
|
|