JavaSE-No.8 - Polymorphism of the Three Features of Java

JavaSE Portal JavaSE_Start JavaSE-No.7.1 - Java's inheritance (super keyword) JavaSE-No.7.2 - Java's Inheritance (and Composition) content 1. The concept of polymorphism2. The realization conditions of polymorphism rewrite 3. Up and down transitions 3.1 Upward Transformation3.2 Downcasting instanceof 4. Rewritten design rules ...

Posted by Big X on Fri, 20 May 2022 00:12:51 +0300

0827 early test XXS attack. Reflow and redraw, sql injection, csrf attack, cookie and session

What is XSS attack and how to defend it XSS (Cross Site Scripting) is a common computer security vulnerability in web applications XSS injects malicious runnable scripts into the client. If the server does not process the user input, it directly outputs the user input to the browser, and then the browser will execute the user injected script ...

Posted by scm24 on Thu, 19 May 2022 17:59:27 +0300

Fundamentals: in depth analysis of JAVA exceptions

When an exception occurs in the method, an exception object will be created and handed over to the JVM for processing. The exception object contains the exception name, exception description and the state of the application when the exception occurs. The process of creating an exception object and handing it to the JVM is called throwing an ex ...

Posted by slindstr on Thu, 19 May 2022 10:38:24 +0300

A concise tutorial on elasticsearch

Installation configuration Install Download from the official website www.elastic.co/downloads to install, download elasticsearch-6.8.1.deb here. Also download ik tokenizer (elasticsearch-analysis-ik-6.8.1.zip) and kibana-6.8.1-amd64.deb. Pay attention to the version of the tokenizer, the version of kibana is the same as the version of e ...

Posted by GESmithPhoto on Tue, 17 May 2022 17:33:38 +0300

Design mode - eight different implementations of single case mode [JAVA] and single case question sorting - interview necessary - super detailed

Design mode - single case mode - eight different implementations [JAVA] and single case problem sorting - necessary for interview - super detailed Introduction to singleton mode the singleton pattern is a software design pattern that restricts the instantiation of a class to one "single" instance. It can be simply understood as: a class ca ...

Posted by SalokinX on Mon, 16 May 2022 21:13:29 +0300

Implementation principle of Java thread pool -- thread pool blocking queue, rejection policy and Executors

1.BlockingQueue thread pool blocking queue Blocking queue method public interface BlockingQueue<E> extends Queue<E> { boolean add(E e); boolean offer(E e); void put(E e) throws InterruptedException; boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException; E take() ...

Posted by siobhan on Sun, 15 May 2022 04:46:08 +0300

Zero basis of Java syntax -- definition and use of array

Java series article directory Write once,Runanywhere.??? This article explains arrays. The knowledge explained from this article is different from that of C language. ?? ?? ?? If you think my article is helpful to you, please also [focus on praise collection]. Getting your support is my biggest motivation!!! ?? ?? ?? Copyri ...

Posted by slava_php on Sun, 15 May 2022 00:41:51 +0300

The pytest test framework combines allure to generate beautiful test reports

1. Introduction to allure allure is a lightweight, flexible, multilingual test reporting tool. Not only does it present what has been tested very succinctly in the form of a neat Web report, but it allows everyone involved in the development process to extract maximum useful information from the day-to-day execution of tests. From a developme ...

Posted by transformationstarts on Sun, 15 May 2022 00:30:16 +0300

My colleague told me that the reason why his code is silky is that he uses Mybatis Plus?

1. Pain points of mybatis We know that MyBatis is a persistence layer framework based on java. It encapsulates jdbc internally, which greatly improves our development efficiency. However, there are many pain points in developing with Mybatis: Each Dao interface needs to define a bunch of addition, deletion, modification and query methods ...

Posted by greenber on Sun, 15 May 2022 00:18:14 +0300

Front end interview dictionary 01 (continuously updated)

Write in front CSDN topic challenge phase 1 Event details address: CSDN Entry topic: front end interview collection Topic Description: welcome to join the topic creation partners. If I guess correctly, I think you should be a front-end person like me. Nowadays, the front-end accounts for an increasingly important proportion in the IT indus ...

Posted by Crashin on Sat, 14 May 2022 23:20:58 +0300