2017 34 Week Review Java summary

Source: Internet
Author: User

From the last Sunday began to work on the experience of Java-related knowledge to summarize. First, we reviewed the Java keyword, focusing on the use of the static keyword: modifier variables, blocks, inner classes, methods, and static guides ; The point is that the final keyword can modify the benefits of classes, methods, and variables: The JVM and Java applications cache the final variable, Improves performance without the need for additional synchronization overhead and is designed to ensure that classes, methods are not inherited and modified.

Keywords for Java basics

This Monday is a summary of one of the most important characteristics of Java reflection, in the ordinary Framework class library are common reflection of the application, with good reflection can greatly improve the flexibility and scalability of the system. Java reflection refers to the runtime to obtain the Class Property method information, and can dynamically invoke any method of the object and the ability to dynamically modify the object properties, that is, using reflection we can run when the object is created, runtime Invoke method, run-time Read and write Object properties.

The reflection of the Java Foundation

Tuesday is the Java Dynamic Agent, the difference between static agent and dynamic agent, dynamic agent to run the dynamic generation and load class class. Dynamic proxies are essentially implemented in two ways, based on the implementation of the same interface, such as the dynamic proxy of the JDK, and Java class-based inheritance, such as cglib dynamic proxies.

Java Dynamic Agent

Wednesday is a Java generic, with good generics can greatly improve the reusability of code.

Java-based generics

The Thursday is the serialization of Java objects, which is essential for data persistence and network transmission.

Object serialization of the Java Foundation

Friday is MAVEN conflict management mechanism, from the online Ali interview problem to see a study summary.

Maven conflict management and dependency management practices

2017 34 Week Review Java 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.