MindMap Gallery Self-study notes on Java programming algorithm structure statement knowledge points
Self-study notes on Java programming algorithm structure statement knowledge points: Basic computer knowledge: Types of computers: desktop computers, notebook computers, server computers.
Edited at 2022-11-22 13:39:50Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
Self-study notes on Java programming algorithm structure statement knowledge points
Basic computer knowledge
Type of computer
desktop computer
notebook computer
server computer
hardware
For example: hard drive, monitor, motherboard
software
system software
For example: Windwos\linux\unix\mac
application
For example: QQ, Kuaibo, Baidu Video, Thunder, eDonkey
DOS commands
dir: directory
cls: clear screen
cd: Enter the directory
cd..: Return to the previous directory
cd/: Return to the root directory
md: create directory
rd: delete directory
del: Delete files
exit: exit
Computer Languages
The language used to communicate between humans and computers
java language
c language
c language
Basic knowledge of Java
Java language introduction
object-oriented language
Sun later orcale
Characteristics of Java language
Object-oriented thinking programming
cross-platform
Safety
JDK, JRE, JVM
JDK: development environment
used to write java code
JRE: Runtime environment
Used to run developed java code
JVM: java virtual machine
JVM is not cross-platform
Download, install and uninstall JDK
download
Download from the official website
java.sun.com
www.orcale.com
Search online
Install
uninstall
Control Panel--Programs
Configure path environment variable
ConfigureJavaHome
JAVA_HOME = Directory
Modify path
%JAVA_HOME%\bin;.....
Case: HelloWorld
Create java file
Create class
Write main method
Console output printing
Identifier
Keywords
Comment
Single line comments
Multi-line comments
Documentation comments
Can be used to generate help documentation in web format
constant
Representation of signed numbers
Original code
reverse code
complement
base
binary
Conversion between binary and decimal
Octal
Conversion between octal and decimal
hexadecimal
Conversion between hexadecimal and decimal
Conversion skills between base systems
binary to octal
Three-digit combination, the left side is not enough to add 0
binary to hexadecimal
Four-digit combination, there is not enough left to add 0
type of data
Basic data types
integer type
byte
short
int
long
floating point type
float
double
Character type
char
Boolean type
boolean
Reference data type
array
kind
interface
variable
concept
The amount that changes within a specified range during program execution
Format
Data type variable name = initial value;
Conversion between data types
implicit conversion
It’s automatic type promotion
Data types with small capacity are automatically converted to data types with large capacity.
cast
A data type with a large capacity is forced to a data type with a small capacity.
Format
(Converted data type) Data that needs to be converted
operator
arithmetic operators
% remainder operator
, --operator
x
Use first and add later
x
Add first and then use
assignment operator
The left side of the operator must be a variable
=: Comes with forced conversion function
comparison operator
=: Assignment operator
==: comparison operator
The result is of type Boolean
Logical Operators
AND operator
False then false
Short circuit and &&
&&: The left side is FALSE. If you don’t read it later, the result is false.
or operator
What is true is true
Short circuit or ||
||: left back TRUE, do not read later, the result is TRUE
XOR operator
If they are the same, they are false; if they are different, they are true.
Not operator
Negate
ternary operator
Format
(Condition)? Expression1:Expression2;
Bit operators
Bit AND
bit or
Bit XOR
one's complement
Shift left
Move right
unsigned right shift
structural statement
judgment structure
if
Format
Select structure
switch
Format
Loop structure
while
Format
do...while
Format
for
Format
Nested loops
forfor nesting
equilateral triangle
The change of the conditional expression of the inner loop is the same as the change of increment x of the outer loop
99 multiplication table
inverted triangle
The initial value expression of the memory loop changes the same as the increment x of the outer loop.
function
Why use functions
Improve code reusability
Format
Modifier return value type function name (parameter list) {......}
Type of function
No return value
void
with return value
Basic data types
Reference data type
Defining functions clearly
Data type of return value
Whether there is unknown content involved (parameter list)
function overloading
concept
In a class, there are multiple methods with the same name but different parameter lists
Characteristics of determining whether it is function overloading
Names must be the same
Regardless of return value type
Parameter list is different
The number of parameters is different
different data types
Data types are in different order
array
concept
Containers that can store multiple data of the same data type
Features
in heap memory
The array will automatically number the elements starting from 0 (subscript)
First address value
Elements have default values
integer
0
decimal
0.0
character
'\u0000', the display effect is equivalent to a space
Boolean
false
Reference data type
null
Format
Case
Array traversal
The maximum value of the array
Array search
Parameter passing in java
Basic data types
Changes in formal parameters have no effect on actual parameters
Reference data type
Changes in formal parameters have an impact on actual parameters
Look-up table method
Multidimensional Arrays
concept
The elements in the array are arrays
three formats
Case
Traverse
cumulative sum