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