current location:Home > Technical Articles > Java > JavaBase
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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
- 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
- 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?
- 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
- 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
- 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 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
- 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?
- 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
- 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)
- 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
- 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?
- 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
- 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
- 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