Meaningless Drivel is fun!
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

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

Joined: Sep 28, 2004
Posts: 20057

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:


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

Joined: Oct 14, 2002
Posts: 8898
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Object Creation
It's not a secret anymore!