Learning any technology is a two-step process:
Setting up the environment
I'm no exception. I'll do it directly.
1, RocketMQ installation
wget https://mirror.bit.edu.cn/apache/rocketmq/4.7.0/rocketmq-all-4.7.0-bin-rele ...
Posted by muretto on Sat, 27 Jun 2020 20:44:03 -0700
Playing with Stream in Java 8
I believe you have heard about Java8 Stream, but you may not be able to use it or you are not familiar with it. This article will take you to use it from scratch, step by step, and lead you to the peak of Stream.
What are operators? Operator is a k ...
Posted by michibk on Sat, 27 Jun 2020 19:14:03 -0700
Ajax class notes
jQuery simplifies js, mainly dom operation
Find it (selector)
Do it (dom operation method)
$("div span"): a selector connected with spaces to find descendants
$("div > span"): use t ...
Posted by nomanoma on Sat, 27 Jun 2020 18:55:02 -0700
2. Import the jar package of MySQL JDBC for the project
3. Initialize driver
4. Establish a connection to the database
5. Create Statement
6. Execute SQL statement
7. Close connection
8. Use try with resource to automatically close the connection
9. Reference link
Posted by han2754 on Sat, 27 Jun 2020 02:34:49 -0700
1.Junit unit test
1. Black box test: do not need to write code, do not see the process of program execution, input some parameters, and see the expected results.
2. White box test: you need to write code, you can see the process of program execution, enter some parameters, and see ...
Posted by rolwong on Sat, 27 Jun 2020 00:05:30 -0700
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