Java   View all facts   Glossary   Help
specification > class > collection class
Next classconcrete class    Upclass    Previous classclass that imports a package   

collection class comparison table
Subject have methods is an instance of is a subtopic of see also have purpose specify you use use be a member of be
ArrayListset, add and removecollection classExample Classes to allow you to build collections of objects that grow as more objects are added an implements clause to declare that it contains methods for each of the operations specified by the interface1 named package rather than the default packagethe unit of data abstraction in an object-oriented program
LinkedList collection classExample Classes working with collections of objects an implements clause to declare that it contains methods for each of the operations specified by the interface1 named package rather than the default packagemore efficient than ArrayList and Vector class for operations such as inserting an element in the middle
String class final classVariables and Data Typesstringto increase system security by preventing system subversionthe keyword final before the keyword class in the class declarationzero-based indexing1 named package rather than the default packageabstract
Vector class collection classExample Classesvectorworking with collections of objects an implements clause to declare that it contains methods for each of the operations specified by the interfacethe java.util packagethe unit of data abstraction in an object-oriented program

Next classconcrete class    Upclass    Previous classclass that imports a package