Java View all facts Glossary Help |
specification > class > collection class |
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 |
---|---|---|---|---|---|---|---|---|---|
ArrayList | set, add and remove | collection class | Example 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 interface | 1 named package rather than the default package | the unit of data abstraction in an object-oriented program | ||
LinkedList | collection class | Example Classes | working with collections of objects | an implements clause to declare that it contains methods for each of the operations specified by the interface | 1 named package rather than the default package | more efficient than ArrayList and Vector class for operations such as inserting an element in the middle | |||
String class | final class | Variables and Data Types | string | to increase system security by preventing system subversion | the keyword final before the keyword class in the class declaration | zero-based indexing | 1 named package rather than the default package | abstract | |
Vector class | collection class | Example Classes | vector | working with collections of objects | an implements clause to declare that it contains methods for each of the operations specified by the interface | the java.util package | the unit of data abstraction in an object-oriented program |
Next class: concrete class Up: class Previous class: class that imports a package