1. Have seen code like this more than once in production:

 

There are many variations of this, such as integer.valueof (1), (Integer)1, etc., but the details are not important. It is important to use an Integer object as a lock object out of thin air.

2. AbstractComponentBuilderTemplateFactory

3. HelloWorld.java

 

4. It is the first time to know that Java supports Chinese class and method names

 

Output -> Li Si is old

5

 

6. Simple to simple, Java code skills evolve with the “veteran” :

 

7

 

In this way, the content of HTML pages, including CSS, sits comfortably in the arms of Java. At this moment, I feel that Java has achieved its goal of unification and is perfectly integrated with HTML and CSS. I’m actually curious about what happens if you add JavaScript.

8

 

9

 

10

 

11

 

12

 

A few final words:

Good programmers have some advantages over mediocre programmers:

When you encounter problems you don’t understand, you should put them forward in time. You should also check Baidu more by yourself. If you don’t know anything, you should consult others.