wood burning stoves*
The moose likes Beginning Java and the fly likes what is the use of .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is the use of .." Watch "what is the use of .." New topic
Author

what is the use of ..

podonga poron
Ranch Hand

Joined: May 12, 2008
Posts: 55
what is the use of <>

example:

List<Integer> list = new ArrayList<Integer>();


thanks
Balasubramanian Chandrasekaran
Ranch Hand

Joined: Nov 28, 2007
Posts: 215

Originally posted by podonga poron:
what is the use of <>

example:

List<Integer> list = new ArrayList<Integer>();


thanks


That one is called Generics in java.

You can take a look at this URL.

For a tutorial about Generics use this PDF File.

UseAMeaningfulSubjectLine from your next post onwards
[ June 13, 2008: Message edited by: Balasubramanian Chandrasekaran ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what is the use of ..
 
Similar Threads
Questions about Generics
answer to this question
Help me with this simple code
Why is List<? super Number> a subtype of List<? super Integer> ?
meaning of "?" in list