Java Summary-Chapter 9

Source: Internet
Author: User

Chapter 9
Text-based Java applicationsProgram

Inputsreamreader is = new inputstreamreader (system. In)
Bufferedreader BR = new bufferedreader (is)
S = Br. Readline ();
While (! S. euqal ("")){}
Flie F = new file ()
Filereader in characters
Bufferedreader Readline
Read a line of Characters in the unit of behavior
Filewriter writes data to the file in characters
Unicode characters cannot be modified when saving string objects
Stringbuffer class objects save modifiable UNICODE character sequences
Collection
Organize a group of objects in a set
Sub-interface
Set does not record the order in which elements are stored and repeated elements are not allowed.
List
Record the order in which elements are stored and repeated elements are allowed
Collection
Set list
Hashset arraylist Vector
Add method set method
The iterator interface defines functions such as traversal of elements contained in collection objects.

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.