201671010114 2016-2017-2 "Java Programming" Eighth Week study summary

Source: Internet
Author: User
Tags collator

In this week's study, lambda expressions, anonymous inner classes, and local inner classes have their own understanding. They are used in callback techniques to reduce the amount of code compared to previous callbacks. This programming task has played a role in reviewing the previous knowledge. Discover the knowledge that you have not mastered before. In a program that sorts names in an identity card, the result is wrong if only arrays.sort () is used to sort the array of strings that consist of names. After querying, when an object of the Collator class is introduced in Arrays.sort () (Collator object name = Collator.getinstance (Locale.china)), It will be out of the right results but it is wrong to have names that are uncommon. The question is not quite clear about how to solve it. The use of static methods is mastered. Before you write your program, make it a little easier to write.

201671010114 2016-2017-2 "Java Programming" Eighth Week study summary

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.