current location:Home > Technical Articles > Java > JavaBase

  • How to define an integer two-dimensional array in java
    How to define an integer two-dimensional array in java
    The way to define an integer two-dimensional array in Java is: [int[][] array = new int[3][3];] or [​int[][] arra = new int[][]{{ 10,20,30},{40,50,60},{70,80,90}}].
    JavaBase 6678 2020-06-20 15:51:03
  • What are the new features of java14
    What are the new features of java14
    The new features of java14 are: 1. Switch expression; 2. Text block; 3. Pattern matching of instanceof; 4. Record; 5. Exception NullPointerException. The new Switch expression no longer has a default skip behavior, and expressions and combinations are easier to write.
    JavaBase 3273 2020-06-20 13:33:43
  • How to output multiplication table in java
    How to output multiplication table in java
    The method for java to output the ninety-nine multiplication table is: we can achieve it through double for loops. The outer for loop controls the number of rows, and the inner for loop controls the number of columns. The specific implementation method is: [for(int i=1;i<10;i++){for(int j=1;j<=i;j++)}].
    JavaBase 4805 2020-06-20 11:33:50
  • What are the classifications of java middleware?
    What are the classifications of java middleware?
    The categories are: application service middleware, application integration middleware, and business architecture middleware. Application service middleware provides a comprehensive computing environment and support platform for application systems; application integration middleware provides functions of message communication, services, and data integration between different network application systems; business architecture middleware includes business processes , business management, etc.
    JavaBase 3321 2020-06-20 10:45:16
  • How to use java newline character
    How to use java newline character
    Use of newline characters in Java: 1. You can use System.out.println() to change a new line; 2. Use System.out.print("\n") to change a new line, and the newline character under Windows is [/r /n], the newline character under Linux is [/n].
    JavaBase 4345 2020-06-19 17:58:32
  • 10 commonly used methods for java arrays
    10 commonly used methods for java arrays
    Arrays provided in the Java language are used to store fixed-size elements of the same type. This article introduces 10 commonly used methods of Java arrays. I hope it will be of some help to you.
    JavaBase 5013 2020-06-19 17:28:02
  • The difference between string, stringbuffer and stringbuilder
    The difference between string, stringbuffer and stringbuilder
    The differences between stringbuffer, stringbuilder, and string are: 1. The execution speed is different, and string is the slowest; 2. The thread safety is different, StringBuffer is thread-safe, and StringBuilder is thread-unsafe.
    JavaBase 2757 2020-06-19 17:24:55
  • Detailed explanation of the use of append() method in java
    Detailed explanation of the use of append() method in java
    In Java, you can use the [append()] function to append a data. This function is used to copy the required string to a new array. Its syntax is [append(String s)], and its parameter s represents the appended string. .
    JavaBase 27527 2020-06-18 13:58:51
  • What processes does javac compilation include?
    What processes does javac compilation include?
    javac compilation includes lexical analysis, filling symbol tables, plug-in annotation processor processing annotations, semantic analysis, decoding syntactic sugar, and generating bytecode.
    JavaBase 7380 2020-06-18 13:38:31
  • Detailed explanation of Java automatic garbage collection tutorial
    Detailed explanation of Java automatic garbage collection tutorial
    If used improperly in Java programming, no matter how large the memory is, it will be exhausted. This article will introduce to you how to save Java memory space and let the Java program automatically recycle garbage.
    JavaBase 3230 2020-06-18 17:37:47
  • JPA dynamic query statement (detailed code explanation)
    JPA dynamic query statement (detailed code explanation)
    We are now making an OA system. When writing all the newly added data to the database, we use jpa specifications. Now we record the dynamic query statements in jpa. In fact, these statements can be written using sql statements. How to write them specifically? Let’s take a look at the content below.
    JavaBase 3589 2020-06-18 17:36:01
  • Introduction to Java callback mechanism
    Introduction to Java callback mechanism
    The so-called callback method means that the caller passes a method that needs to be called back as a parameter to the method to be called. After the called method is executed, the method is called by returning the parameter. The method passed as a parameter is called Make callback method.
    JavaBase 2408 2020-06-17 17:07:32
  • What is the storage type of args when passed into a function in Java?
    What is the storage type of args when passed into a function in Java?
    In Java, the storage type of args when passed into a function is treated as an array, and can only appear at the end of the parameter list. [...] is located between the variable type and the variable name, with or without spaces before and after.
    JavaBase 4456 2020-06-17 16:49:14
  • How to use visual stdio for java development
    How to use visual stdio for java development
    The method of using [visual stdio] for java development is: first open VS2012 and create a new project; then select the win32 console application and name it the [learn] file; then create a new file with the suffix [.java] in the source file ;Finally enter the code.
    JavaBase 5749 2020-06-17 15:29:33
  • Detailed explanation of usage of java enumeration type enum
    Detailed explanation of usage of java enumeration type enum
    The Java enumeration class is a set of predefined constants. Using the enum keyword to declare this class, you can group related constants into an enumeration type. The syntax is [public enum class name].
    JavaBase 15978 2020-06-17 15:18:16

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28