201671010118 2016-2017-2 "Java Program design" Sixth Week learning experience

Source: Internet
Author: User

It's the sixth week of Learning Java, and in this week's study, you know that interfaces cannot construct interface objects, but you can declare interface variables to point to a class object that implements the interface.

to declare a class to implement an interface, you need to use the keyword implomnts,The purpose of the Commparator interface is to handle the operation of strings sorted by length. In task six, the lambda expression format is mastered, andthelambda expression is a transitive block of code that can be executed one or more times at a later time. In this experiment, the experiment Seven and the experiment eight did not have any idea to write the procedure, the operation result has been also wrong, read after reading also did not understand, so I did not write these two questions in this experiment report, I want to wait for the teacher to finish after I write again .

201671010118 2016-2017-2 "Java Program design" Sixth Week learning experience

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.