aspose file tools*
The moose likes Java in General and the fly likes Object Creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Object Creation" Watch "Object Creation" New topic
Author

Object Creation

subhadeep chakraborty
Ranch Hand

Joined: Jul 29, 2006
Posts: 67
set<A> obj = new HashSet<A>();

Here, i don't understand what is <A>.It would be helpful if you help me with this.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 19073
    
  40

This is not just a feature of object creation. To understand this, you need to know what Generics are. I would suggest that you start with the Generics tutorial on the Sun web site:

http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8883
    
    5
looks like an intermediate level question to me


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
subhadeep chakraborty
Ranch Hand

Joined: Jul 29, 2006
Posts: 67
Thanks,i could understand something from the tutorial,i will go through Java Threads..Thanks again, bye....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object Creation