Basic features of java

Three characteristics of Java: encapsulation, inheritance and polymorphism encapsulation High cohesion and low coupling: the internal data operation of the class is completed by itself, and external interference is not allowed; Try to expose a small amount of methods for external use Property private, get/set Meaning of encapsulation: 1. I ...

Added by McMaster on Fri, 28 Jan 2022 16:07:14 +0200

The secret of Spring framework

Spring 1. Introduction to spring framework Spring, born in 2002, was created by Rod Johnson. Spring framework is an open source, lightweight project management framework that integrates many design patterns. Committed to JAVAEE lightweight solutions. Compared with the original framework, the spring framework is essentially different fro ...

Added by phpretard on Thu, 20 Jan 2022 06:50:44 +0200

Junit's two common test methods -- Basic test and parametric test

If you don't know how idea creates Junit5 test project, you can see it This blog Test process Basic test Annotate the Test method @ Test shortcoming Each method can only be tested. To test multiple use cases in a use case, many methods need to be added, resulting in very bloated code, which is not recommended package com.xjtu; import o ...

Added by mikejs on Sat, 15 Jan 2022 23:57:27 +0200

Vue quick start (IDEA version) one article is a quick start (you can directly develop front-end and back-end separation projects)

1, Vue quick start In 2008, google's Chrome was released, and then it occupied the market at a very fast speed, surpassing IE to become the leader of the browser market. In 2009, based on Google's Chrome v8 engine, Ryan Dahl created an asynchronous IO framework based on event loop: node js. Asynchronous lO based on time cycle Single thread ...

Added by Grant Holmes on Thu, 13 Jan 2022 21:53:40 +0200

Table driven method, logic control, optimization tool

hello, everyone, I'm Zhang Zhang, the public name author of "the road to structural excellence". Recently, many students talked about some idea s of designing table structure in the development process. In order to avoid detours, we plan to talk about table driven method today~ 1. Concept introduction Ta ...

Added by Hades on Wed, 12 Jan 2022 05:19:34 +0200

idea creates gradle parent-child project collection springBoot -- a detailed introduction to build gradle

catalogue preface Step 1: create parent project Step 2: create a sub module library Step 3: create a sub module - application Step 4: configure the build of parent-child project Gradle file 4.1. demo parent project build Configuration of gradle 4.2. library sub project build Configuration of gradle 4.3. Application subproject build Conf ...

Added by redesigner on Sat, 01 Jan 2022 21:07:46 +0200

Crazy God says Mybatis08: cache

cache 1. Introduction 1. What is Cache? There is temporary data in memory. Put the data frequently queried by users in the cache (memory), and users do not need to query from the disk (relational database data file) but from the cache to query the data, so as to improve the query efficiency and solve the performance problem of high concurr ...

Added by jennifer_ann on Sat, 01 Jan 2022 16:07:30 +0200

Spring MVC - file upload and download

catalogue 1. Introduction 2. File upload 3. File download epilogue 1. Introduction Spring MVC can well support file upload, but MultipartResolver is not installed in the spring MVC context by default, so it cannot handle file upload by default. If you want to use spring's file upload function, you need to configure MultipartResolver in ...

Added by groberts23 on Wed, 22 Dec 2021 09:54:08 +0200

Java programming exercise Day08

Java programming exercise Day08 Check box control array Example description Check box control is often used in GUI program interface design. For example, many options can be added to the user's favorite program interface. If these options are entered through the GUI interface designer, it is very time-consuming, and the generated code ...

Added by afatkidrunnin on Wed, 22 Dec 2021 06:42:54 +0200

Activit7 process design and basic use of process API

Activiti Designer process designer Installation of Activiti Designer visit https://plugins.jetbrains.com/plugin Search for the actiBPM plug-in and download it (or search for the plug-in name and installation in the version conforming to the IDEA). The supported IDEA version is 2019.1.4, and the plug-in is not supported in higher versions. ...

Added by demouser on Tue, 14 Dec 2021 03:44:52 +0200