Preface
I believe everyone knows the relationship between processes and threads. I won’t explain too much here. Since a process is composed of multiple threads, the thread pool is composed of several thread queues. The concurrency is relatively high. In some scenarios, we usually create a thread pool to perform tasks, instead of creating ...
Posted by cesarcesar on Sat, 24 Dec 2022 13:42:28 +0300
User interaction
Basic Scanner
package CH02_JAVAProcessControl;
//Basic Scanner
import java.util.Scanner;
//Guide package
public class XZ01_UserInteraction {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
//Create a Scanner object
System.out.println("Please enter 1");
if (input.h ...
Posted by marsooka on Mon, 28 Nov 2022 07:52:35 +0300
#[Java]Basic knowledge of interview review it yourself
foreword
Looking for a job recently, discipline the basics of Java
1. Basic data types
1. Difference and conversion between int and Interger
the difference
1. Integer is a wrapper class for int, which is a basic data type of java 2. Integer variables must be instantiated ...
Posted by tengkie on Sun, 04 Sep 2022 12:38:21 +0300
JVM introduction
1. What is a JVM?
java virtual machine - the running environment of java programs (java Binary Bytecode operating environment)
2. Benefits of JVM
The cornerstone of writing once and running everywhere [key]Automatic memory management, garbage collection function [key]Data subscript out of range checkPolymorphism, object-ori ...
Posted by mike0193 on Fri, 12 Aug 2022 21:44:05 +0300
Article catalogue
?? More relevant knowledge??
1, View exception information
??public void printStackTrace()??public String getMessage()??public String toString() 2, Exception handling - throws declares an exception
1. Why do I need throws?2. Format of throws
? Code demonstration 3. Usage scenarios of throws4. Notes on the ...
Posted by Antnee on Wed, 10 Aug 2022 21:37:40 +0300
Java thread pool multi thread query database to improve query efficiency
demandproblemthinkingcodeanalysis
demand
Company data statistics report query, several large table Association query, including cross database query, data associated query, data filtering, data statistics.
problem
Main table data 1
Main table data 2
...
Statis ...
Posted by ryadex on Tue, 09 Aug 2022 22:06:04 +0300
???
?? Blog homepage: ****
?? Series column: uiautomation
?? Welcome to like?? Comments??
I love python and look forward to growing up with you!!
Purpose: use uiautomation to get wechat friends and store them in txt files.
catalogue
1, Foreword
2, Specific steps
Module import
Open wechat
Enter address book management
Locate ...
Posted by lizzyd on Tue, 09 Aug 2022 13:03:39 +0300
Yesterday, a fan friend also wanted to learn how to develop Web, applet and Android. He asked if he could learn it in college?
What I learned in school is really limited:
In many colleges and universities, some professors are academic, and they have not done much development work. In class, they just follow the book, and their knowledge point ...
Posted by skali on Thu, 04 Aug 2022 21:47:07 +0300