[Java] object oriented -- understanding of interfaces

An interface is a further step of an abstract class. An abstract class can also contain non abstract methods and fields. While the methods contained in an interface are abstract methods, and fields can only contain static constants Sometimes you must derive a subclass from several classes and inherit all their properties and meth ...

Posted by pinxue on Sat, 20 Nov 2021 22:32:38 -0800

Introduction to Java -- array

catalogue 1. Array 1.1 concept 1.2 creation of array   1.3 array creation process 1.4 length of array 1.5 array variables 2. Tools 2.1 Arrays 1.Arrays.toString 2.Arrays.sort 3.Arrays.copyOf 1. Array 1.1 concept Array, marked with "[]", is used to store the aggregation of multiple data of the same type. If you wan ...

Posted by Dude0 on Sat, 20 Nov 2021 22:22:51 -0800

Message queuing - RabbitMQ

Message queuing - RabbitMQ Teaching video address: Learning companion - flying brother - rabbitmq Code address: link: https://pan.baidu.com/s/1-N0vQRhAO4kbkRk9w8BS2w Extraction code: zoh7 What is middleware Since the 1980s, Chinese enterprises have gradually carried out information construction. Due to the immature methods and systems and ...

Posted by agadgil on Sat, 20 Nov 2021 21:29:53 -0800

Spring MVC parameter passing summary

Content type definition MediaType, that is, Internet Media Type; It is also called MIME type. In the Http protocol message header, content type is used to represent the media type information in the specific request. Common media formats are as follows: text/html: HTML formattext/plain: plain text formattext/xml: XML formatimage/gif: gif p ...

Posted by dare87 on Sat, 20 Nov 2021 21:25:06 -0800

JavaSE: common API s for Java in the third phase

1. Interact with users Parameters for running Java programs Recall the entry of the Java program -- the method signature of the main() method: public static void main(String[] args) The following explains in detail why the main() method uses this method for signature. Public modifier: Java classes are called by the JVM. In order f ...

Posted by telefiend on Sat, 20 Nov 2021 20:38:48 -0800

Simple summary of Java exception system

catalogue preface 1, Exception overview 2, Exception handling 3, Custom exception preface     hello, guys, long time no see! In today's article, I want to talk about the exception class of Java. I believe the little friends who have learned Java are not unfamiliar with exceptions. Then the little friends who have l ...

Posted by pelegk2 on Sat, 20 Nov 2021 20:20:01 -0800

Interpretation of HashMap & concurrent HashMap source code of jdk1.7+1.8

catalogue preface HashMap Base 1.7 Base 1.8 Traversal mode ConcurrentHashMap Base 1.7 Base 1.8 summary preface Like Map   Key Value   It is a very classic structure in software development, which is often used to store data in memory. This article mainly wants to discuss a concurrent container such as ConcurrentHashMap. B ...

Posted by webing on Sat, 20 Nov 2021 20:17:44 -0800

JavaBean and EL expressions

Learning objectives 1: JavaBean 2: EL expression Learning content 1: Initial JavaBean 1,1 what is a JavaBean JavaBean is a reusable software component in java development language. Its essence is a Java class. In order to standardize the development of JavaBeans, Sun company released the JavaBean specification, which requires a standard JavaB ...

Posted by kday on Sat, 20 Nov 2021 19:52:46 -0800

01-springCloud easy start

Eureka registry Eureka is like Didi, responsible for managing and recording the information of service providers. Service callers do not need to find services themselves, but tell Eureka their needs, and Eureka will tell you the services that meet your needs. At the same time, the service provider and Eureka are monitored through the "hea ...

Posted by sbacelic on Sat, 20 Nov 2021 19:46:05 -0800

[elasticsearch] learning notes -p8 (realize data synchronization between elasticsearch and mysql)

Video directions 👉 Station B dark horse micro service Super recommended! MQ implements data synchronization between elasticsearch and mysql The hotel data in elasticsearch comes from MySQL database. Therefore, when MySQL data changes, elasticsearch must also change. This is the data synchronization between elasticsearch and mysql. 1. ...

Posted by n5tkn on Sat, 20 Nov 2021 19:39:56 -0800