[Java] reflection, enumeration, Lambda expression
1, Reflection
1 Definition
The reflection mechanism of Java is to know all the properties and methods of any class in the running state; For any object, we can call any of its methods and properties. Since we can get it, we can modify some type information; This function of dynamically obtaining information and dynamically calling object ...
Added by panic! on Tue, 01 Mar 2022 09:22:31 +0200
C language multidimensional array and pointer - learning 24
This article was last updated on February 19, 2022, and has not been updated for more than 8 days. If the article content or picture resources fail, please leave a message and feedback. I will deal with it in time. Thank you! Array name as function parameterWhen using the array name as the function parameter, because the array name of the actu ...
Added by henka on Tue, 01 Mar 2022 09:19:55 +0200
Java language practice answer 03
1. Which of the following cannot be used to handle thread safety
synchronized keywordvolatile keywordLock classtransient keyword
Correct answer D answer analysis Let's take a look at the function of the transient keyword The variable cannot be serialized Variables modified by transient cannot be serialized Cannot be read after deserialization ...
Added by Gregghawes on Tue, 01 Mar 2022 09:18:21 +0200
Study notes on factory mode of 23 design modes
What is the factory model?
As the name suggests, factory is to create products. According to whether the products are specific products or specific factories, it can be divided into simple factory mode and factory method mode. According to the degree of abstraction of factories, it can be divided into factory method mode and abstract factory m ...
Added by metuin on Tue, 01 Mar 2022 09:16:14 +0200
Processes and threads in Python
Threads and processes
1, What is a process / thread
1. Introduction
As we all know, CPU is the core of computer, which undertakes all computing tasks. The operating system is the manager of the computer and a big housekeeper. It is responsible for task scheduling, resource allocation and management, and commands the whole computer hardwa ...
Added by DChiuch on Tue, 01 Mar 2022 09:07:12 +0200
Introduction to Vue syntax (recommended for getting started)
1.Mustache (double brace):
2.v-once: this instruction does not need to be followed by any expression (v-for followed by expression). This instruction indicates that elements and components are rendered only once and will not change with the change of data.
After parsing the tag, the html-v.html-3 will output the data.
4.v-text: < H2 v-t ...
Added by josephicon on Tue, 01 Mar 2022 08:59:46 +0200
C language structure - Learning
This article was last updated on February 22, 2022, and has not been updated for more than 6 days. If the article content or picture resources fail, please leave a message and feedback. I will deal with it in time. Thank you! Structure typeThe user establishes a combined data structure composed of different types of data, which is called struc ...
Added by zak on Tue, 01 Mar 2022 08:56:15 +0200
C language string and pointer - learning 25
This article was last updated on February 20, 2022, and has not been updated for more than 7 days. If the article content or picture resources fail, please leave a message and feedback. I will deal with it in time. Thank you! Reference method of stringStrings are stored in character arrays.To reference a string, you can use the following two m ...
Added by duall on Tue, 01 Mar 2022 08:44:14 +0200
JVM virtual machine detailed class loading subsystem
Detailed explanation of JVM virtual machine (class II) loading subsystem
1. Overview of memory structure
💡 Note: only the HotSpot virtual machine is available in the method area, but neither J9 nor JRockit
2. Class loader subsystem
Functions of class loader subsystem:
The class loader subsystem is responsible for loading class ...
Added by jmarcv on Tue, 01 Mar 2022 08:35:56 +0200
Relationship among functions, methods and interfaces in Go language
Why is there a function?
At first glance, this problem is a bit SB. The function must be written for use, but can't I implement my steps step by step to realize the function? Yes, but on the one hand, it will cause code redundancy and heavy workload. On the other hand, it is unsightly and concise. In my opinion, function is to extract the ...
Added by WebGeek182 on Tue, 01 Mar 2022 08:28:55 +0200