Fifth JoJo Summary

Source: Internet
Author: User

Week Summary

This week studied the article content, the 12th chapter commonly used class, 13th chapter reflection and Class loading, 14th Chapter multithreading Programming, the 15th Chapter Java sets the framework and the 16th Chapter Java graphical user interface programming.

Common classes mainly explain the system class and runtime class, as well as strings commonly used string, and compare the difference between StringBuffer and StringBuilder, and their execution efficiency, and two other commonly used classes are date classes and mathematical operations related classes, Can be used to get dates and perform mathematical operations.

In the reflection chapter, the realization method of reflection is mainly explained, and the comparison of Finaliza () method is combined with the string framework.

In multithreaded programming, there are mainly the thread class and the Runnable class, and the thread is created by inheriting the thread class, and by overriding the run () method in the thread subclass created, and writing the program that you want to run in the method, Another approach is to create threads by implementing the Runnable interface, and to implement multithreading by taking the start () method from an instance of the thread class. By comparing the two, we know that using the Runnable interface can effectively separate the virtual CPU from the task that the thread is going to accomplish, and avoid the limitation of single inheritance. So it is better to implement multithreading through Runnable interface.

In the Java Collection framework to learn the collection interface and the iterator interface, mainly for the list interface and the set interface they contain, there is a more important map interface, including the HashMap class and TreeMap class, Finally, the tool class collections and arrays can be used to implement the function conveniently.

In the Java GUI programming, mainly is the container and the component, the container divides into the heavy level container and the lightweight container, as well as the component inside the container layout, through the reasonable layout can create a simple user interface, then through the event-driven programming can realize the human and the computer a simple communication.

That's what this week's learning is all about.

Fifth JoJo Summary

Related Article

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.