Day_15 [java basics] abstract classes, interfaces and internal classes

1, abstract class When defining a class, it is often necessary to define some methods to describe the behavior characteristics of the class, but sometimes the implementation of these methods is uncertain. For example, if an Employee class is defined, its work() method describes work, but their work is different for different positions. For thi ...

Posted by enlight on Fri, 12 Nov 2021 20:17:18 -0800

Understand the common configuration notes of Mybatis - Advanced

to configure 3.1. Core configuration file The MyBatis configuration file contains settings and attribute information that deeply affect MyBatis behavior. The top-level structure of the configuration document is as follows: configuration properties settings typeAliases typeHandlers objectFactory (object factory) plugins environment ...

Posted by Rohan Hill on Fri, 12 Nov 2021 18:18:23 -0800

Java IO stream --- byte stream

IO stream 1, IO stream overview and classification IO stream introduction IO: input / outputStream: it is an abstract concept, which is the general name of data transmission. In other words, the transmission of data between devices is called stream, and the essence of stream is data transmissionIO stream is used to deal with data transmissio ...

Posted by SammyGunnz on Fri, 12 Nov 2021 17:18:42 -0800

Spring MVC explains the core technology in detail

Chapter IV spring MVC core technology 1. Forwarding and redirection forward: view full path redirect: view full path 1.1 java code @Controller public class MyController { * The controller method returns MOdelAndView Realize forwarding forward * grammar: mv.setViewName("forward:View full path") * * forward Features ...

Posted by vargefaret on Fri, 12 Nov 2021 16:35:12 -0800

Flowable getting started series article 54 - execution listener

The execution listener allows you to execute external Java code or evaluate expressions when a specific event occurs during process execution. The events that can be captured are: Start and end a process instance.transformation.Start and end activities.Start and end a gateway.Start and end intermediate events.End the start event and start the ...

Posted by flyankur on Fri, 12 Nov 2021 15:06:22 -0800

Beginner programming, ideas are clear, but can't write the code?

The initial contact programming can be directly used. Instead of the large piles of books on the front floors, they may not be able to help you write code. If you don't say, they may directly persuade you to retreat. First, look at the problem. It shows that you have ideas and can figure out all the problems. Then there is a very simple method ...

Posted by oceans on Fri, 12 Nov 2021 13:56:07 -0800

One-to-many relationship processing in Mybatis basic learning

Preface: Hello, ladies and gentlemen, I'm running like a snail rz. Of course you can call me Snail Jun. I'm a beginner who has studied Java for more than half a year. At the same time, I have a great dream that I will become an excellent Java architect one day. This Mybatis Basic Learning series is used to record the whole process of ...

Posted by ataylor20 on Fri, 12 Nov 2021 13:55:50 -0800

Java essay record Chapter 3: array

preface When using an array, remember that the subscript 0 is the first Subscript 0 is the first Subscript 0 is the first!!! I've thought about this sentence for a long time, and I think it's best to put it at the beginning This chapter is mainly about arrays. In actual use, if we want to declare a large number of data of the same data ...

Posted by rage2021 on Fri, 12 Nov 2021 13:45:15 -0800

Cereal mall project (learning note 2)

Cereal mall project (learning note 1) Cereal mall project (learning note 2) Chapter II: initialization project catalogue Chapter II: initialization project 1, Initialize database 2, Introduction of Renren open source 1. Download Ren fast and Ren fast Vue 2. Introduce Ren fast in the backend 3. Introduce the front-end Ren fast Vue 4. T ...

Posted by lordshoa on Fri, 12 Nov 2021 13:22:10 -0800

java Chapter 1 exercise

5. Write a Java application that outputs all the Greek letters. Tip: Find the first Greek letter α Encoding in Unicode, last Greek letter ω Encoding in Unicode. And then loop through all the characters in this range to get the Greek alphabet public class helloworld { public static void main(String[] args){ for (int i = 945; i ...

Posted by stupid girl! on Fri, 12 Nov 2021 12:54:09 -0800