current location:Home > Technical Articles > Java > JavaBase

  • Why was jsp eliminated?
    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
    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 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?
    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?
    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?
    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
    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
    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?
    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
    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?
    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 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
    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?
    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
    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

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