Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Generics
Chandraprabha Rajput
Ranch Hand
Posts: 37
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can anyone explain me the diffrence between
List<
String
> l = new ArrayList();
and
List<String> l = new ArrayList<String>();
Campbell Ritchie
Marshal
Posts: 79179
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hardly an advanced question.
Go through the
Java
Tutorial about generics, especially the bit about raw types.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Generics
why l.add() method is not working in this context?
Generics question
Generics - nested type parameters
Generics
More...