File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 18757
    
  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: 8815
    
    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....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Object Creation