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:
-
- Why was jsp eliminated?
- JSP was eliminated not because of backward technology, but because of industry trends; now the emphasis is on the separation of front-end and back-end. The front-end writes the front-end code, and the back-end writes the back-end code. There is no need to integrate the front-end and back-end codes. Together, so the use of jsp is limited.
- JavaBase 21310 2020-11-06 12:43:25
-
- What are the mysql query statements in java
- MySQL query statements in Java: 1. Simple query; 2. Simple query; 3. Sorting query; 4. Group query, the code is [group by grouped field.[Having condition]]; 5. Paging query, the code is [ select * from table name limit x;].
- JavaBase 4672 2020-11-02 15:36:24
-
- How to convert list to array in java?
- How to convert a list collection into an array in Java: 1. Use the parameterless toArray method, the syntax format "Object[] toArray();"; 2. Use the toArray method that supports generics, the syntax format "<T> T[] toArray (T[] a);".
- JavaBase 100474 2020-11-02 15:00:33
-
- What does a java source file consist of?
- Java source files are composed of three parts: the first part is the class or external structure, such as "class Student{}"; the second part is the main() method, also called the entry of the program; the third part is the written code, It is written in the main method.
- JavaBase 13165 2020-11-02 14:40:53
-
- What are the three factory patterns in java?
- Java's three factory patterns: 1. Simple factory pattern, which provides a function to create object instances without caring about its specific implementation; 2. Factory method pattern; 3. Abstract factory pattern, which provides a function to create a series of related or interdependent objects interfaces without specifying their specific classes.
- JavaBase 5457 2020-11-02 14:23:46
-
- What are the eight basic data types of Java?
- The eight basic data types of Java are: 1. Integer type byte, short, int, long; 2. Character type char; 3. Floating point type float, double; 4. Boolean type boolean.
- JavaBase 71746 2020-11-02 13:41:39
-
- How to convert string to number in java
- Method of converting java string to number: 1. Convert to integer number [Integer.parseInt(String s)]; 2. Convert to floating point number [Float.parseFloat(String s)].
- JavaBase 77055 2020-11-02 09:46:02
-
- Reasons why mysql inserts data slowly
- The reasons why mysql inserts data slowly: 1. The insertion efficiency is reduced due to the main code, foreign code, and index; 2. Due to the use of a for loop to continuously execute this method to insert; 3. The query results cannot be released in time.
- JavaBase 11314 2020-11-01 14:54:25
-
- What are the java fonts?
- Java fonts include: 1. Serif is serif; 2. [Sans-serif] is sans serif; 3. Monospaced is equal width; 4. Dialog is dialog box; 5. DialogInput is dialog box input.
- JavaBase 3692 2020-10-30 14:59:20
-
- What is the principle of spring aop
- Spring AOP principle: 1. AOP is aspect-oriented and is a programming paradigm that provides another perspective to consider the program structure to improve object-oriented programming OOP; 2. AOP provides developers with a mechanism to describe cross-cutting concerns. and the ability to automatically weave cross-cutting concerns into object-oriented software systems.
- JavaBase 3382 2020-10-30 14:51:07
-
- What are the usages of java enumeration type enum?
- The usage of java enumeration type enum is: 1. Enumeration type constant; 2. Enumeration with one parameter; 3. Add new methods to the enumeration; 4. Override the enumeration method.
- JavaBase 21895 2020-10-30 13:53:58
-
- How to use java newline character
- How to use java line breaks: 1. Change one line [System.out.print("\n")]; 2. Change two lines [System.out.println("\n\n")]; 3. Change three lines Line [System.out.println("\n\n"\n)].
- JavaBase 31437 2020-10-29 15:25:02
-
- Teach you how to completely uninstall Java
- Method to completely uninstall Java: first delete the previously configured environment variables; then uninstall JavaSE normally; then delete the Java-related folders in the C drive; finally delete the registry and restart the computer.
- JavaBase 11741 2020-10-29 14:20:21
-
- What are the differences between springboot and springmvc?
- The difference between springboot and springmvc: 1. Spring MVC provides a lightly coupled way to develop web applications. It is a module of Spring and a web framework; 2. Spring Boot implements automatic configuration, reducing the complexity of project construction. Spend.
- JavaBase 88394 2020-10-29 16:20:35
-
- How to intercept a string using substring in Java
- The substring method in Java to intercept a string: [public String substring(int beginIndex)] starts from the index beginIndex and ends at the end of the entire string.
- JavaBase 7337 2020-10-29 16:19:47