Basic knowledge of C + + (10000 words summary)

Article catalogue catalogue Article catalogue preface 1. Input and output of C + + 1.1.C + + header file 1.2.C + + I / O 2. Default parameters 2.1 definition of default parameters 2.2 classification of default parameters **All default parameters **Semi default parameter 2.3 precautions for default functions 3. Function overloading ...

Posted by LordTyphon on Sat, 22 Jan 2022 05:37:32 +0100

Uncle Niu talks about Python Chapter 14: explain the inheritance and instances of Class (take the king as an example)

Uncle calf takes you across the threshold of Python class easily 1. Boastful inheritance The best example of inheritance turns out to be virus replication. COVID-19 COVID-19 is rampaging around the world. The delta variant has triggered a new epidemic because of its more powerful transmission. Even China's city has not been spared. The proces ...

Posted by yoda69 on Sat, 22 Jan 2022 05:30:34 +0100

Common methods of multithreading

Common methods of multithreading start and run First look at calling the run method Code example: package com.wxit.test02; import lombok.extern.slf4j.Slf4j; /** * @author wj * @date 2022.01.02 19:25 */ @Slf4j(topic = "c.Test") public class Test { public static void main(String[] args) { Thread thread = new Thread("t1") { ...

Posted by Tracer on Sat, 22 Jan 2022 04:13:54 +0100

Six common design modes: II. Factory mode

2.1 introduction The core essence of the factory model: The instantiated object is not created with new, but replaced with factory method;The implementation class will be selected and the object will be created for unified management and control, so as to decouple the caller from the implementation class. The core idea is to realize the sepa ...

Posted by twooton on Sat, 22 Jan 2022 03:33:40 +0100

Thymeleaf basic grammar

Thymeleaf displays and processes data through standard variable expressions Standard variable expressions must rely on labels and cannot be used independently.Standard variable expressions are generally in the start tag, starting with th.The syntax is: < tag th: * * * = "${key}" > < / tag >In the expression, ${} can be us ...

Posted by cruzbullit on Sat, 22 Jan 2022 03:28:28 +0100

Do you know the two sorts of [Java comparator]?

❀ Write in front ❀ Blog home page: Hard working Naruto ❀ Series column: Java basic learning πŸ˜‹ ❀ Welcome, friends, praise πŸ‘ follow πŸ”Ž Collection πŸ” Learning together! ❀ If there are mistakes, please correct them! 🌹 1, Two ways of sorting objects in Java In Java, the sorting of object arrays is often involved, so the comparison between ...

Posted by cesar_ser on Fri, 21 Jan 2022 22:42:25 +0100

Enumeration class of Java foundation -- detailed explanation

Enumeration class of Java foundation - detailed explanation 1. User defined enumeration class Introduce concepts: When do we start using enumeration classes? Introduce a small case: We live in spring, summer, autumn and winter Then these attributes are fixed, and these names are not allowed to be modified. Then we can define a class ...

Posted by JDBurnZ on Fri, 21 Jan 2022 21:25:27 +0100

Take you a few minutes to master the use of Spring annotations

πŸ‘ About the author: Hello, I'm cabbage ~ ~, a sophomore in school, and a new star creator in the Java field.πŸ“ Personal homepage: Cabbage CSDN blogπŸ“• Series column: This article is written in the Java design pattern column: Spring5 knowledge recordπŸ“§ If there are mistakes in the knowledge points of the article, please correct them! Learn and make ...

Posted by TKKP on Fri, 21 Jan 2022 20:30:16 +0100

Java project: household income and expenditure accounting software

1. Project objectives β€’ simulate the implementation of a text-based interface "home accounting software" β€’ master preliminary programming and debugging skills β€’ it mainly involves the following knowledge points: οƒ˜ definition of variables οƒ˜ use of basic data types οƒ˜ circular statement οƒ˜ branch statement οƒ˜ method dec ...

Posted by AdamBrill on Fri, 21 Jan 2022 19:38:02 +0100

Python - advanced functions

Advanced function (2) This is function advanced version 2.0, What will be introduced are the three concepts of iteratable object, iterator and generator and their usage, Only by understanding these three can we deepen our understanding of sequences. Iteratable object In the previous article, we talked about many iteratable objects, For e ...

Posted by tyrol_gangster on Fri, 21 Jan 2022 19:31:16 +0100