[JAVA refined into immortality] magic chapter -- object oriented โก (inheritance, construction method, rewriting, overloading)
๐ This is JAVA Chengxian road. Pay attention to my learning JAVA and don't get lost ๐ If it helps you, give the blogger a free praise to show encouragement Welcome ๐ give the thumbs-up ๐ Comment collection โญ ๏ธ
This chapter introduces the construction method, inheritance, rewriting, overloading and creation method in detail. The whole arti ...
Posted by bsamson on Thu, 10 Mar 2022 21:04:59 +0100
Database connection JDBC
1. Succinct
JDBC (Java DataBase Connectivity) is a Java API for executing SQL statements. It can provide unified access to a variety of relational databases. It is composed of a group of classes and interfaces written in Java language. JDBC provides a benchmark by which more advanced tools and interfaces can be built to enable database develop ...
Posted by wudiemperor on Mon, 07 Mar 2022 04:03:21 +0100
[JAVA Chengxian road] Yuanying chapter - arrays hidden in the game
๐ This is JAVA Chengxian road. Pay attention to my learning JAVA and don't get lost ๐ If it helps you, give the blogger a free praise to show encouragement Welcome ๐ give the thumbs-up ๐ Comment collection โญ ๏ธ
Array and two-dimensional array feel that it should be easier to understand by taking the equipment column of King glory as an exa ...
Posted by graziano on Sun, 06 Mar 2022 21:15:01 +0100
Java learning notes - Methods
1, Method overview
Not to mention what the method is, let's look at the code and analyze where the program has shortcomings and how to improve it.
Do not use method
int x = 10;
int y = 20;
System.out.println(x+"+"+y+"="+(x+y));
System.out.println(x+"+"+y+"="+(x-y));
int x1 = 100;
int y1 = ...
Posted by Ludo Lambrechts on Sun, 06 Mar 2022 07:26:59 +0100
SSM small project ---------- query student information by class
1, Project introduction
The main functions of the project are: select a class from the drop-down list, and click the query button to display the table displaying student information at the bottom of the page
As shown in the figure:
Main technologies used: three SSM frameworks, AJAX, jQuery, BootStrap, etc Project objective: to i ...
Posted by steveangelis on Sat, 05 Mar 2022 11:45:01 +0100
Multithreading tutorial AQS principle
Multithreading tutorial (34) AQS principle
1. General
Its full name is AbstractQueuedSynchronizer, which is the framework of blocking locks and related synchronizer tools
characteristic:
The state attribute is used to represent the state of resources (exclusive mode and shared mode). Subclasses need to define how to maintain this state and ...
Posted by avillanu on Sat, 05 Mar 2022 08:58:41 +0100
Java learning notes -- operators and control statements
1, Operator
1.1.1 overview of operators
Operator refers to the operation of operands.
1.1.2 arithmetic operators
public class Test02 {
public static void main(String[] args) {
//Arithmetic operator
//Addition, subtraction, multiplication and division
int a = 10;
int b = 3;
System.out.println(a + ...
Posted by DaveSamuel on Sat, 05 Mar 2022 05:19:07 +0100
Day4: enter, if, switch
Day4: enter, if, switch
When implementing branch judgment, a good habit is to put the judgment with high matching success rate in front, which can improve efficiencyIn the expression judgment, we try to use the determined value to judge with the uncertain value
Execution process in the program:
Sequencing: starting from the main method ...
Posted by dark_destroyer on Thu, 03 Mar 2022 11:44:02 +0100
Multithreading tutorial immutable design
Multithreading tutorial (XXIX) immutable design
Common invisibility designs include time formats and string s
Take string as an example to illustrate the elements of immutable design
public final class String
implements java.io.Serializable, Comparable<String>, CharSequence {
/** The value is used for character storage. */
...
Posted by Brandon_R on Mon, 28 Feb 2022 07:32:32 +0100
Java Web from introduction to actual combat
Personal homepage: Hello Code. This column: Java Web from introduction to actual combat It is long and not finished, and the follow-up content will be continuously updated This article will also be published in sections for your convenience If you don't have Java foundation, please go first Java zero foundation guide Column learning correspondi ...
Posted by bookchiq on Mon, 28 Feb 2022 06:41:49 +0100