Java Basics - memory pointing 1
What is an object?
public class Cat {
public int age;
public String name;
public char sex;
public void run(int ag) {
this.age=ag;
}
public static void main(String[] args) {
Cat cat1=new Cat();
Cat cat2=new Cat();
Cat cat3=new Cat();
cat1.run(10);
cat2.run(11);
System.out.println(cat1.age);
System.out.println(cat2.ag ...
Posted by pvechi on Sat, 12 Feb 2022 03:47:41 +0100
Less than 200 lines of code, I wrote a class roll call system in python. Haven't you panicked yet?
Hello, everyone. I saw such a short video on the subway today. I wonder if I can write a similar class roll call program. At the end of the year, of course, this program can also be used for lucky draw.
Now let's start practice! Like to remember to like, collect and pay attention.
preparation
1,Tkinter
Tkinter is the built-in TK GUI tool ...
Posted by fesan on Sat, 12 Feb 2022 03:46:30 +0100
Analyze the implementation principle of thread pool (pooling Technology) from the source code
Thread pool is a very important knowledge point and a typical application of pooling technology. I believe many people have the experience of using thread pool, but do you know the implementation principle of thread pool? In this article, we will explore the source code of thread pool.
Origin of thread pool
Background: with the upgradi ...
Posted by digitalhuman on Sat, 12 Feb 2022 02:43:50 +0100
Login case of Java Web project quick start
The login interface is available for every project, and it is also a small start of a project. How to design the page and the corresponding logic.
1. Interface design
Everyone has different ideas and aesthetics about the interface. This time, we mainly focus on the implementation of login logic. The languages required for interface design inc ...
Posted by lordrain11 on Sat, 12 Feb 2022 01:54:13 +0100
Introduction to Java section 7 classes and objects
introduction
to learn Java, we should not only learn the basic grammar, but also learn the idea of programming, in which we should understand what is "class"? What is "object"? And the most important core idea of Java, object-oriented (oop)! This idea can simplify the complex things in life. It is also used in progra ...
Posted by earunder on Sat, 12 Feb 2022 01:12:24 +0100
SpringBoot+flowable quickly realizes workflow and is an excellent workflow wheel
Click on "end of life", pay attention to the official account.
Daily delivery, dry time!
1. Background
Use the flowable UI that comes with flowable to make the flow chart Use the interface used by the springboot development process to complete the business functions of the process
2. Deployment and operation of flowabl ...
Posted by CraigRoberts on Sat, 12 Feb 2022 00:54:54 +0100
OCR (text recognition) function and ASR (speech recognition) java application development (based on Baidu Intelligent Cloud)
Baidu cloud official website:
Baidu Intelligent Cloud - Intelligent era infrastructure Baidu intelligent cloud focus on cloud computing, intelligent big data, artificial intelligence services, provide stable cloud server, cloud hosting, cloud storage, CDN, domain name registration, Internet of things and other cloud services, support API docki ...
Posted by nev25 on Fri, 11 Feb 2022 21:51:59 +0100
Chapter 18 object oriented advanced five - internal class details of JavaSE topic
1. Internal class overview
(1) Inner class: the inner part of a class is completely nested with another structure. Those nested are called inner classes, and those nested with other classes are called outer classes.
Internal class: the fifth largest member of our class;
Five members: attribute, method, constructor, code block and internal ...
Posted by beachdaze on Fri, 11 Feb 2022 21:37:17 +0100
C + + learning notes: template parameters
This chapter mainly studies the basic knowledge of template formal parameters.
There are three types of template parameters: type template parameters, template parameters of templates (taking templates as template parameters), and non type template parameters.
Type template parameters
Type template parameters are the main purpose of using te ...
Posted by llandudno on Fri, 11 Feb 2022 21:20:18 +0100
Operation of reading Python source code Python list
Introduction:
In the last article, I briefly understood the expression form of python list. Today, I'll briefly understand some operations on list. The following is in Listobject Some methods declared in the H header file, where PyList_New,PyList_SetItem was briefly read in the previous article, pylist_ I won't say more about the size method t ...
Posted by weyes1 on Fri, 11 Feb 2022 18:08:36 +0100