搜索内容

Java
  • Java basic syntax

    A java program can be considered as a collection of objects that work together by calling each other's methods. The fo……
    Java
  • Java objects and classes

    Java as an object-oriented language. The following basic concepts are supported: In this section, we focus on the conc……
    Java
  • Java foundation – Collection

    Collection framework Java. util. Collection Common functions in the collection interface 1. Add booblean add(Object ob……
    Java
  • Java foundation – multithreading

    First, let's learn about the relationship between process and thread and the difference between them. { 1: To understa……
    Java
  • Java (1): object oriented

    Java review notes (I): object oriented 0. How to understand "everything is an object" 1. Within the scope of Java lang……
    Java
  • Java (3) common classes

    @ Common Java classes 1、 String related classes 1. String class public class StringTest { String str = new Strin……
    Java
  • Enhanced for loop usage

    1、 Enhanced for loop Enhance the function of the for loop: simplify the writing format of the iterator. (Note: enhanc……
    Java
  • Java thread — production and consumption

    /* JDK1. Version 4: producer, consumer. The problem of multiple producers and consumers. If judgment flag, only once, ……
    Java
  • Java development environment configuration

    Installing Java in Windows system Download JDK First, we need to download the java development kit JDK at: http://www.……
    Java
  • Java(8)I/O

    1、 File class 1. File class overview 2. File class instantiation 3. Common methods of file class Public Boolean renam……
    Java
  • Java (4) enumeration class

    @ 1、 Introduction to enumeration class 2、 Custom enumeration class 1. Method 1: jdk5 Custom enumeration class before……
    Java
  • Java multithreaded programming — multithreading

    If you want to implement the definition of multithreading in Java, you need to have a special thread body class to def……
    Java
  • File upload

    File upload 1. File upload basis 2. Precautions 3. index. jsp <%-- Created by IntelliJ IDEA. User: Wang Date:……
    Java
  • Java based interfaces and internal classes

    Interface and inner class This paper mainly sorts out the difficulties encountered by some authors in Chapter 6 of Jav……
    Java
  • Cookies and sessions

    Cookies and sessions 1. Conversation Session: users open a browser, click many hyperlinks, access multiple web resourc……
    Java
  • SMBMS

    SMBMS(Supermarket Billing Management System ) 1. Project structure 2. Preparation for project construction 3. Realizat……
    Java
  • JavaBean

    JavaBean Entity class 1. JavaBeans have specific writing methods The ORM is generally used to map fields in the databa……
    Java
  • Maven

    Maven 1. Why learn Maven? 2. Maven project architecture management tool At present, we are using to import jar package……
    Java
  • Servlet

    Servlet 1. Introduction to Servlet The Java program that implements the servlet interface is called servlet 2. HelloSe……
    Java
  • Java Reflect

    Reflection 1. Overview of java reflection mechanism Reflection mechanism allows the program to obtain the internal inf……
    Java
  • Maven download and installation

    Maven download and installation 1、 Maven concept Development process: make -- > ant -- > Maven -- > gradle f……
    Java
  • Mail sending

    Mail sending 1. Principle Send mail: SMTP protocol Receiving mail: POP3 protocol Simple mail: plain text mail without ……
    Java
  • POI

    POI 1. Basic object 2. POI write 1. Import dependency <?xml version="1.0" encoding="UTF-8"?> <project xmlns="……
    Java
  • MVC

    MVC MVC: model view controller ----- > model view controller 1. Structure of previous years When the user understan……
    Java
  • Solve the JDK version problem of maven

    Add the following code to the POM file <build> <plugins> <plugin> ……
    Java
  • JDK1. Thread pool in 8

    The above code has been used all the time. I'm often asked during the interview, but I've never studied it deeply. I d……
    Java
  • Java export CSV file

    In the past, POI was always used to export as Excel file. Later, when I learned about CSV, I found that the speed was ……
    Java
  • ThreadLocal principle

    1. What is ThreadLocal ThreadLocal provides thread local variables. The difference between these variables and ordinar……
    Java
  • Distributed transaction

    In essence, distributed transaction is to ensure the data consistency of different databases. 1. Distributed theory 1.……
    Java
  • Redisson basic usage

    1. Redisson Redisson is the Java version of redis client officially recommended by redis. It provides many functions a……
    Java
  • Java Memory Model

    Shared memory model
    Java
  • E-commerce promotion background logic

    In the final analysis, the so-called marketing of e-commerce is the change of order amount; If we clearly know the cal……
    Java