Synchronization exercise (Java SE)
Case 1: method exercise
Requirements: design a method to print the larger of the two numbers
Analysis: 1. Define a method to print the larger of two numbers, such as getMax()
2. Two variables are defined in the method to save two numbers
3. Use branch statements to handle the size re ...
Posted by inkel on Sun, 31 Oct 2021 17:00:52 -0700
AWT programming in java
Introduction to AWT
AWT Definition
AWT: A GUI class library, the Abstract Window Toolkit GUI applications created with AWT share the same interface style as the platform on which they run
Inheritance System of AWT
Componet:
Represents an object that can be displayed pictorially and interact with the user, such as Button fo ...
Posted by gwolff2005 on Sun, 31 Oct 2021 15:32:24 -0700
java keywords and identifiers (partial types)
1. Keyword
1. What are keywords? Let's get to know:
1. What are keywords: Parse: All colors in the compiler are keywords. For example, public, void, Four types and eight types of data (int, long, short, ...
Posted by picker999 on Sun, 31 Oct 2021 15:01:57 -0700
Grapefruit class - phase 4
2050
That day TA said TA was coming, so I came. I said I was coming that day, so you came. What did TA see? What do you see? I see you together, I'm really happy:)
Yang Sai's song and the other two volunteers tell their story of 2050. They can see the light and enthusiasm of young people in their eyes.
Interested parties can join: https: ...
Posted by wdsmith on Sun, 31 Oct 2021 14:56:34 -0700
Java Classes and Objects
1. Preliminary Cognition of Classes and Objects
C language is process-oriented and focuses on the process, analyzing the steps to solve the problem, and gradually solving the problem through function calls. JAVA is object-oriented and focuses on objects. It splits one thing into different objects and completes them through interaction betw ...
Posted by The Stranger on Sun, 31 Oct 2021 14:15:14 -0700
SpringBoot: related system requirements, HelloWord, dependency management, automatic configuration (shallow)---- 2
system requirements
The differences between different versions of ssdss can be seen as follows: ssdss1, look for the corresponding version, such as the latest version is 2.5.6, so we have to look at the requirements of the corresponding version. ssdss2, click "Getting Started" to view related system requirements ssdss 3. We fo ...
Posted by visonardo on Sun, 31 Oct 2021 13:58:07 -0700
< 2021SC@SDUSC Blog software engineering application and practice of Shandong University JPress code analysis
2021SC@SDUSC
preface
In the previous three articles, I disassembled and analyzed the basic frameworks JFinal and JBoot of JPress project at the use level. In the following article, I will analyze the module article in the JPress project at the code level.
JPress is an open source and fast site building product suitable for non large enterpri ...
Posted by csn on Sun, 31 Oct 2021 12:01:07 -0700
Class 05 and object 1_ encapsulation
1, Process oriented and object oriented
The programmer has changed from a process oriented executor to an object-oriented commander
2, Creation and use of classes and objects
Class definition
Modifier keyword class name{
Properties and fields;
method();
}
//For example, we create a Person class
class Person{
//Human char ...
Posted by FFFF on Sun, 31 Oct 2021 11:03:07 -0700
ROS Source Learning V. Connection Processing
2021SC@SDUSC
Catalog
1. Write before
2. Design Mode - Abstract Factory
3. ConnectionServer Inheritance Level
4. ConnectionServer and its Grandfather Key Sources
1. Write before
In the previous blog, we learned where to send socket handles after ServerSocket listened for client socket connections. We set up a ...
Posted by neo0506 on Sun, 31 Oct 2021 10:15:38 -0700
Java learning 07 multithreading
Multithreading
1, Process and Thread
A program is an ordered collection of instructions and data. It has no running meaning and is static A program in process execution is a dynamic concept. It is the unit of system resource allocation Usually, a process can contain multiple threads. There is at least one thread in a process. Thread is the ...
Posted by beezza on Sun, 31 Oct 2021 09:22:55 -0700