Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 19527

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: 8896
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....
Have you tried LearnNowOnline?
subject: Object Creation