20165325 Java programming Nineth Week of study summary

Source: Internet
Author: User

First, the textbook study note ch13

1. URL class

    • The URL class is an important class in the java.net package, where an instance of the URL encapsulates a uniform Resource locator, and the application that uses the URL to create the object is called the client program.
    • A URL object typically contains the most basic three-part information: protocol, address, resource.

2. Sockets: Methods related to Mysocket:

    • getInputStream()get an input stream;

    • getOutputStream()Get an output stream
    • Use getInputStream() the resulting input to stream to another DataInputStream data stream
    • getOutputStream()the resulting output flows to another DataOutputStream data stream

3, UDP datagram: UDP communication based on the basic mode is:

    • Package the data, called a packet (like loading a letter into an envelope), and then send the packet to the destination.
    • Accept packets sent by others (like receiving envelopes), and then view the contents of the packet.
    • Sending a packet

4. Broadcast Data Report

    • Class D Address: 224.0.0.0~224.255.255.255.
    • Hosts that want to broadcast or receive broadcasts must be joined to the same class D address.
Second, the Code cloud link

Code Cloud Link

Third, the script runs

Problem encountered: The SDK could not be found

This is actually about Android Studio something that I put on this blog for the time being.

After the installation has just been done Android Studio , an error code appears with one open:

unable to access android sdk-on list

In the Teacher's blog guide inside let us download the SDK, in fact, we can let Android Studio ourselves download, so in the you just need a dot cancel on the line.

Reference Link: Unable to access Android SDK Add-on List

20165325 Java programming Nineth Week of 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.