包含标签:Java 的文章
-
[dynamic programming] Yan’s DP analysis
Yan's DP analysis and explanation from acwing yxc. This paper is a note of several classic examples @ H_ 502_ 2@ @H_ 5…… -
Java process control (3) nesting
We talked about various loop structures before. There are for loops and while loops, which can complete repeated actio…… -
[daily question] intersection of two arrays
349. Intersection of two arrays The difficulty is simple 227 Given two arrays, write a function to calculate their int…… -
[daily question] top k high frequency elements
347. Top k high frequency elements Given a non empty array of integers, return the elements with the highest frequency…… -
Java common class – wrapper class
1、 Use of packaging import org.junit.Test; public class WrapperTest { //String类型 --->基本数据类型、包装类:调…… -
Java common class – string class
String related classes: String String class: represents a string. All string literals (such as "ABC") in Java programs…… -
Java Web(1)-JavaScript
1、 Combination of JavaScript and HTML code 1. The first method Just use the script tag in the head tag or the body ta…… -
Java multithreading detailed summary
1、 Basic concepts Program @ h_ 301_ 4@: a set of instructions written in a certain language to complete a specific ta…… -
Java object-oriented explanation – next
1、 Static public class TestCircle { public static void main(String[] args) { Circle c1 = new Circle(); Circle c2…… -
Java common class – object class
1、 Java Lang.Object class 1. Object class is the root parent class of all Java classes 2. If the extension keyword is…… -
Java comparator
Normally, objects in Java can only be compared = = or= You can't use > <, but in actual development, we need to …… -
Java Web(3)-XML
1、 Introduction to XML 1. What is XML? XML is an extensible markup language 2. What is the role of XML? 2、 XML synta…… -
Java Language Overview
1、 Java Basics 2、 Software 1. What is software? Software = data + instruction [command] + document 2. What does soft…… -
Detailed explanation of java object-oriented – Part 1
1、 Classes and objects 1. Composition of class 2. Properties Member variable vs local variable 3. Method Provide the …… -
Java Web (2) – jQuery
1、 JQuery first experience Use jQuery to bind click events to a button <!DOCTYPE html> <html lang="en"> &…… -
Java exception
1、 Abnormal? Java. In Java System Lang. throwable class is the root class of the exception [java.lang.throwable is th…… -
Definition and use of Java array
1、 Array concept Multiple data of the same data type can be stored in the same container 1. Format 2. Array operation…… -
Java Web (5) – servlet details (Part 2)
1、 HttpServletRequest class 1. What is the role of HttpServletRequest? Every time a request enters the Tomcat server,…… -
Java Web (5) – servlet details (Part I)
1、 Servlet 1. What is a servlet 2. Manually implement the servlet program First, create a corresponding module in the…… -
Several ways to improve string performance by 10 times! (source code + principle analysis)
String type is one of the most frequently used data types. So improving the running efficiency of string is undoubtedl…… -
Rabbitmq series (VI) complete solution of rabbitmq cluster architecture you don’t know
preface This paper will systematically introduce the characteristics, exception handling, construction and use of rabb…… -
Rabbitmq series (IV) rabbitmq transaction and confirm sender message confirmation – in depth interpretation
Rabbitmq transaction and confirm sender message acknowledgement - in depth interpretation Rabbitmq series introduction…… -
MySQL “passive” performance optimization summary!
When you are young, you don't know the pain of optimization. When you meet a pit, you know the difficulty of optimizat…… -
There are 7 ways to create thread pool. It is strongly recommended that you use it
According to Moore's law, the number of transistors that can be accommodated on the integrated circuit doubles every 1…… -
Key value expiration in redis
1. Expiration setting There are four ways to set the expiration time in redis: Let's take a look at the specific imple…… -
Redis transaction in-depth analysis and use
1. Preface Transaction refers to providing a mechanism to package multiple commands and execute them sequentially at o…… -
Spring boot (x) logback and log4j2 integration and log development history
1、 Introduction There are many well-known logs in Java, such as Jul, log4j, JCL, slf4j, logback and log4j2. What is t…… -
Station B true question: how to judge whether brackets are valid?
Today's question is not only the real question of BiliBili's written test this year, but also a classic interview ques…… -
This thread termination will lead to service downtime?
Before we start, let's look at what's wrong with the following code? public class ThreadStopExample { public stati…… -
Detailed explanation of 505 interview questions in “full analysis of Java interview”
"Full analysis of Java interview" is an e-book I released in gitchat. The book has a total of 150000 words and 505 Jav…… -
Dynamic diagram demonstration: two implementation methods of hand rolling stack!
Before we start, let's talk with friends about our plans for the later stage. In the following articles, we plan to wr…… -
Please, stop waiting and notify!
Condition is a thread communication method provided in JDK 1.5 to replace wait and notify. Then someone will ask: why ……