1, What is serialization and deserialization?
Java serialization refers to the process of converting Java objects into byte sequences;
Java deserialization refers to the process of restoring byte sequences to Java objects.
2, What does serialization do?
Object persistence, which can permanently s ...
Posted by everknown on Fri, 26 Jun 2020 21:35:28 -0700
Design pattern principle
One object should have the least knowledge of other objects
The closer the relationship between class and class, the greater the coupling degree
Demeter principle is also known as the least known principle, that is, the less a class knows about its own dependent c ...
Posted by evo4ever on Fri, 26 Jun 2020 21:22:54 -0700
Chapter 1: Inheritance (Extexnds)
1.1 What is inheritance?Effect?
2.1 Inherit related attributes
3.1 Method Override (OverRide)
Chapter II: Polymorphism
1.1 What is polymorphism?
2.1 Basic Grammar
3.1 instanceof operator
4.1 super keyword
That's all for today's sharing!!!~
Learn together, ...
Posted by benz862 on Fri, 26 Jun 2020 17:57:47 -0700
2. Interaction between JAVA threads WAIT and NOTIFY
3. Bad solution
4. Using wait and notify for thread interaction
5. About wait, notify, and notifyAll
6. Reference link
When the business is complex, deadlock may occur in multithreaded applications
Posted by TheLoveableMonty on Fri, 26 Jun 2020 01:06:16 -0700
Preface: to every reader: Hello! My name is Changlon. I'm a runner who runs on the road of programming like you, hoping to change the world and improve your life with programming.
First intention of writing article: convenient for review later, convenient for future interview, make more friends, exchan ...
Posted by eflopez on Fri, 26 Jun 2020 01:03:18 -0700
If you want to be a good java Architect, here → Le byte free open class (Tencent class)
If you need to follow more information, please click on the right side (remember the password: 66) → This is a no return road, there is a risk of baldness, please choose carefully!
The core object of BOM is window, which represents an i ...
Posted by R_P on Fri, 26 Jun 2020 00:52:21 -0700
Auto configuration principle
Condition annotation principle
Spring boot is the packaging of spring. Through automatic configuration, spring boot can be used out of the box with very low starting cost. However, the cost of learning its implementation principle is grea ...
Posted by mvidberg on Thu, 25 Jun 2020 23:47:45 -0700
Spring boot + websocket for real-time chat
Recently, a little time, the last project just used websocket to realize broadcasting messages. Now, I want to sort out some previous codes and share them with you.
WebSocket protocol is a new network protocol based on TCP. It realizes full duplex communication between browser and server, which ...
Posted by mady on Thu, 25 Jun 2020 23:14:13 -0700
window operation on data
In the window operation of flow data, when event time passes the window time, it will close the window. Then in the actual production environment, due to various reasons such as the network, late data may appear, resulting in data disorder. As shown in the figure below, the ...
Posted by plex303 on Thu, 25 Jun 2020 22:46:08 -0700
Deep understanding of synchronized underlying source code
This article analyzes the implementation logic of synchronized from the JVM source code, so as to better understand the depth of synchronized.
Process: the basic unit of operating system resource allocation. Thread: the basic unit of ...
Posted by azaidi7 on Thu, 25 Jun 2020 21:55:14 -0700