File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Collection

 
brent spearios
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is collection and interface or a class?
 
Tim Murphy
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's an Interface.
You can refer to the online API documentation at:
http://java.sun.com/products/jdk/1.2/docs/api/java/util/Collection.html
 
brent spearios
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you greenhorn.
 
Corey McGlone
Ranch Hand
Posts: 3271
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by brent spearios:
Is collection and interface or a class?

Be sure not to confuse the Collection interface with the Collections class.
The Collection interface is the basis for many data containers in Java. The Collections class, however, supplies a large number of utility methods (like sorts and the like) that operation on objects that implement the Collection interface.
Corey
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic