201671010129 2016-2017-2 "Java Programming" a summary of the collection of learning Java

Source: Internet
Author: User

The collection can only hold objects and holds objects that are instances of the object class.

Java Collection framework: a collection of class libraries contains a number of superclass classes that contain multiple elements and provide a way to manipulate the contained elements, including elements that can be composed of the same type of object or by different types of objects.

This includes vector vectors, stack stacks, hashtable hash tables, and so on.

The vector class is similar to a variable-length array, where the vector can only hold objects, and the elements of the vector can only be accessed by subscript.

The Stack class is a subclass of the vector class that describes the data structure of the stack

ArrayList: An array that can automatically grow the capacity.

201671010129 2016-2017-2 "Java Programming" a summary of the collection of learning Java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.