Java basic programming (array)

1, Overview of arrays 1. Understanding of arrays:                  An array is a collection of multiple data of the same type arranged in a certain order, named with a name, and managed uniformly by numbering. 2. Array related concepts:     &nb ...

Posted by kcomer on Fri, 29 Oct 2021 20:16:27 -0700

Introduction to computer C language must see and review the simple knowledge points of C language

Introduction to computer C language must see and review the simple knowledge points of C language @ Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface How to enter the computer industry starts with this article. 1. Why learn c l ...

Posted by dkjohnson on Fri, 29 Oct 2021 19:57:49 -0700

[Java] after a long time, you can finally give yourself new objects -- Java classes and objects

🗽 Preliminary cognition of class and object C language is process oriented, focuses on the process, analyzes the steps to solve the problem, and gradually solves the problem through function call. JAVA is based on object-oriented and focuses on objects. It divides one thing into different objects and completes it by the interaction ...

Posted by edwardsbc on Fri, 29 Oct 2021 16:06:12 -0700

Circular statement in Java - array

Statements in Java         1. Sequential structure         2. Select structure         if statement         switch Statements         3. Loop structure - repeat execution          1.for loop -- F ...

Posted by HA7E on Fri, 29 Oct 2021 05:48:30 -0700

JAVA learning 10-29 -- rewriting, super, polymorphism

Method override 1. Override: after a subclass inherits the parent class, it can override the methods in the parent class.2. Application: after rewriting, when a subclass object is created and a method with the same name and parameter in the child parent class is called through the subclass object, the method of overriding the parent class by t ...

Posted by f1nutter on Fri, 29 Oct 2021 05:34:12 -0700

spring notes learned but not understood

Reading notes on the core principles of spring 5 and handwriting practice of 30 classes catalogue PART1 is written in front of the nonsense PART2 software architecture design principles PART3 is an example of refactoring code PART1 is written in front of the nonsense The example in the article is adapted and simplified to the original ...

Posted by netrepsa on Fri, 29 Oct 2021 03:26:52 -0700

Flash source code reading notes

This article is based on flash version 0.3. Let's first look at an official example: from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run() So what's going on here? Enter the source code to find out. This is the module that Flask depends on. You can see ...

Posted by vinodkalpaka on Fri, 29 Oct 2021 01:19:21 -0700

A diagram to thoroughly understand the Spring circular dependency

1 what is circular dependency? As shown in the figure below: BeanA class depends on BeanB class, and BeanB class depends on BeanA class. This dependency forms a closed loop, which we call circular dependency. Similarly, see the following figure: In the above figure, BeanA class depends on BeanB class, BeanB class depends on BeanC class, and B ...

Posted by Johntron on Fri, 29 Oct 2021 00:07:41 -0700

Class (another day when I don't know what to take)

Tip: the following is the main content of this article. The following cases can be used for reference 1, Date class (time date class) 1. General Date represents a specific time, accurate to milliseconds 2. Construction method Method nameexplainpublic Date()Allocate a Date object and initialize it so that it represents the time it is ...

Posted by Andy-H on Thu, 28 Oct 2021 19:58:26 -0700

Detailed explanation of preemption scheduling caused by Goroutine running for too long~

Original address: Detailed explanation of preemption scheduling caused by Goroutine running for too long~ This paper focuses on the following two points: Preemptive scheduling occurs. Preemptive scheduling due to long running time. sysmon system monitoring thread will periodically (10 milliseconds) preempt goroutine through retake. Look a ...

Posted by Waseem Ullah Kh on Thu, 28 Oct 2021 19:11:49 -0700