JVM (Java Virtual Machine)

7. Mnemonic Decompile class files through javap: Enter the class file directory and enter: javap -c class name. Related mnemonic aload_0: A reference type is loaded.First letter: a: reference type, i: integer type, l: long integer type0: indicates the 0th variable. invokespecial: including init, private and super Method (), where &lt ...

Posted by gkostenarov on Mon, 21 Feb 2022 16:20:45 +0100

Summary of java IO theory

catalogue What is I/O? What are the common IO models? Two methods commonly used for keyboard input How many types of IO streams are there in Java? Since there is a byte stream, why should there be a character stream? File class Several ways of reading and writing large files Note: This article refers to docs/java/basis/io.md Β· SnailC ...

Posted by ashishag67 on Mon, 21 Feb 2022 15:01:44 +0100

java network programming

*1, There are two main problems in network programming: * 1. How to accurately locate one or multi state host (IP) on the network; Locate the specific application (port number) on the host * 2. How to carry out network transmission reliably and efficiently after finding the host * *2, Two elements in network programming: * 1. Corresponding que ...

Posted by rcatal02 on Mon, 21 Feb 2022 14:59:10 +0100

day24 multithreading (inheriting Thread class & implementing Runnable interface) & Thread safety (synchronous code block & Lock lock)

Multithreading overview Process: The running program is an independent unit for the system to allocate and call resources. Each process has its own memory space and resources. Thread: It is a single sequential control flow of a process, or a separate execution path If a process has only one execution path, it is called single thread If a proce ...

Posted by ashmo on Mon, 21 Feb 2022 14:00:15 +0100

IO stream (day 23 of learning Java) (File class)

catalogue I File class overview II Static member variable of File class III Construction method of File class III Get method of File class IV Create and delete functions of File class Vi File class directory traversal method VII File filter of file class I File class overview java. io. Abstract representation of file and directory p ...

Posted by brendandonhue on Mon, 21 Feb 2022 13:55:46 +0100

[new features of JDK8] Date/Time API(JSR 310)

Β  May you be like sunshine, bright and not sad. Links [programming protocol] date and time Β  1. Date and time API overview Date/Time API Java 8 further strengthens the processing of date and time by publishing a new date time API (JSR 310). Improved many problems in the date time API in the old version of Java, including: Non th ...

Posted by 1337hovie on Mon, 21 Feb 2022 13:31:50 +0100

Zen of design pattern: structural agent pattern, static agent, JDK dynamic agent, cglib and source code analysis, hand typing 2w words

𝑰'π’Ž π’‰π’‰π’ˆ, 𝑰 π’‚π’Ž 𝒂 π’ˆπ’“π’‚π’…π’–π’‚π’•π’† 𝒔𝒕𝒖𝒅𝒆𝒏𝒕 π’‡π’“π’π’Ž π‘΅π’‚π’π’‹π’Šπ’π’ˆ, π‘ͺπ’‰π’Šπ’π’‚. 🏫 𝑺𝒉𝒄𝒐𝒐𝒍: π‘―π’π’‰π’‚π’Š π‘Όπ’π’Šπ’—π’†π’“π’”π’Šπ’•π’šπŸŒ± π‘³π’†π’‚π’“π’π’Šπ’π’ˆ: 𝑰'π’Ž π’„π’–π’“π’“π’†π’π’•π’π’š π’π’†π’‚π’“π’π’Šπ’π’ˆ π’…π’†π’”π’Šπ’ˆπ’ 𝒑𝒂𝒕𝒕𝒆𝒓𝒏, 𝑳𝒆𝒆𝒕𝒄𝒐𝒅𝒆, π’…π’Šπ’”π’•π’“π’Šπ’ƒπ’–π’•π’†π’… π’”π’šπ’”π’•π’†π’Ž, π’Žπ’Šπ’…π’…π’π’†π’˜π’‚π’“π’† 𝒂𝒏𝒅 𝒔𝒐 𝒐𝒏.πŸ’“ π‘―π’π’˜ 𝒕𝒐 𝒓𝒆𝒂𝒄𝒉 π’Žπ’†: π‘½π‘ΏπŸ“š π‘΄π’š π’ƒπ’π’π’ˆ: 𝒉𝒕𝒕𝒑𝒔://π’‰π’‰π’ˆπ’šπ’šπ’…π’”.π’ƒπ’π’π’ˆ.𝒄𝒔𝒅𝒏.𝒏𝒆𝒕/πŸ’Ό π‘·π’“π’π’‡π’†π’”π’”π’Šπ’π’π’‚π’ π’”π’Œπ’Šπ’π’π’”: π’Žπ’š π’…π’“π’†π’‚π’Ž According to the purpose; Through what work is completed, it c ...

Posted by AdamBrill on Mon, 21 Feb 2022 12:58:33 +0100

SpringBoot-7 internationalization

SpringBoot-7 internationalization This article uses SpringBoot+Thymeleaf to explain the internationalization of springboot. If you don't know Thymeleaf well, you can check my previous articles. Code word is not easy to hope that you can pay attention to my official account. Your concern is my greatest support. Thank you. At the end of the arti ...

Posted by magaly on Mon, 21 Feb 2022 12:57:41 +0100

Implementation of sparse array in Java language

Sparse array About the author Author introduction πŸ“ Blog home page: Author URI πŸ“ Introduction: high quality creator in JAVA field πŸ₯‡, A junior at school πŸŽ“, During school, he participated in various provincial and national competitions and won a series of honors πŸ† πŸ“ Pay attention to me: pay attention to my learning materials and ...

Posted by will on Mon, 21 Feb 2022 12:03:29 +0100

(java)scanner.next() and scanner The difference between nextline()

Brush the programming questions on niuke.com. If you use java language for programming, the most common input is to use Scanner. Its structure is very simple: Scanner sc = new Scanner(System.in); Then you can use sc.next() and sc.nextLine() to get the user input information. By default, the string information is obtained. Generally, we think ...

Posted by genics on Mon, 21 Feb 2022 10:49:22 +0100