current location:Home > Technical Articles > Java > Javagetting Started

  • What should I do if there is no servlet option when creating a new idea?
    What should I do if there is no servlet option when creating a new idea?
    Solution: First enter the "Configuration" page and mark "src" as a "Sources" file; then click the "facets" tab on the left side of the page and check the option ending with "src" in "sources root". Create a new servlet file in the file in the src directory.
    Javagetting Started 22379 2023-01-13 00:40:10
  • How to use coding standards and static code checking plug-ins
    How to use coding standards and static code checking plug-ins
    This article will introduce you to coding standards and how to use static code checking plug-ins. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
    Javagetting Started 3255 2021-05-06 10:03:22
  • What is the difference between start method and run method in java thread
    What is the difference between start method and run method in java thread
    Threads in Java are implemented through Java.lang.Thread. You can create a thread by instantiating a Thread object and then calling start() to start it. However, a specific method run() of Thread can also start a thread. So what is the difference between these two methods?
    Javagetting Started 3287 2021-05-01 12:04:04
  • Java batch inserts large amounts of data into mysql database
    Java batch inserts large amounts of data into mysql database
    The fastest and most effective way for Java to batch insert large amounts of data into a MySQL database is to use traditional JDBC insertion.
    Javagetting Started 9513 2021-05-01 12:00:26
  • What are the steps to connect to the database using jdbc?
    What are the steps to connect to the database using jdbc?
    The steps for jdbc to connect to the database: 1. Load the jdbc driver; 2. Create a connection to the database; 3. Create a preparedStatement; 4. Execute the SQL statement; 5. Traverse the result set; 6. Handle the exception and close the JDBC object resource.
    Javagetting Started 99708 2023-01-13 00:40:09
  • What are the jvm garbage collection algorithms?
    What are the jvm garbage collection algorithms?
    JVM garbage collection algorithm: 1. "Mark-Clear" algorithm; first mark all objects that need to be recycled, and then uniformly collect all marked objects after the marking is completed. 2. Copy algorithm; divide the memory into two equal-sized blocks, and only use one of them at a time. 3. "Mark-Organization" algorithm; 4. Generational collection algorithm.
    Javagetting Started 32882 2023-01-13 00:40:09
  • How to solve javac is not an internal or external command, nor is it an operable program?
    How to solve javac is not an internal or external command, nor is it an operable program?
    Solution: 1. Download and install jdk; 2. In the environment variable interface, write the "JAVA_HOME" configuration path in full, write ".;%JAVA_HOME%\lib;" in the "CLASSPATH" configuration path, and "PATH" configuration Just write "%JAVA_HOME%\bin;" in the path.
    Javagetting Started 161015 2023-01-13 00:40:09
  • How to run java program
    How to run java program
    Method: 1. Create a new java file containing program code in the desktop; 2. Open cmd and execute the "cd Desktop" command to enter the desktop; 3. Execute the "Java file name.java" command to compile; 4. Execute the "java file name" command to run the java program.
    Javagetting Started 151517 2023-01-13 00:40:09
  • What are the commonly used data structures in Java?
    What are the commonly used data structures in Java?
    Java data structures include: 1. Array; 2. Linked list, a recursive data structure; 3. Stack, which stores data according to the principles of "last in, first out" and "first in, last out"; 4. Queue; 5. Tree, It is a set of hierarchical relationships composed of n (n>0) limited nodes; 6. Heap; 7. Graph; 8. Hash table.
    Javagetting Started 43267 2023-01-13 00:40:09
  • What are the basic data types of java
    What are the basic data types of java
    There are 8 basic data types in Java, namely: byte (bit), short (short integer), int (integer), long (long integer), float (single precision), double (double precision), char (character) and boolean.
    Javagetting Started 93160 2023-01-13 00:40:09
  • How to understand java polymorphism
    How to understand java polymorphism
    In Java, polymorphism is the ability of the same behavior to have multiple different manifestations or forms; polymorphism is the same interface, using different instances to perform different operations. The advantages of polymorphism: 1. Eliminate coupling relationships between types; 2. Replacement; 3. Extensibility; 4. Interface; 5. Flexibility; 6. Simplification.
    Javagetting Started 6501 2021-04-13 17:55:39
  • What is reflection in java
    What is reflection in java
    In Java, reflection mainly refers to the ability of a program to access, detect, and modify its own state or behavior. The main functions of the Java reflection mechanism: 1. Determine the class to which any object belongs at runtime; 2. Construct an object of any class at runtime; 3. Call the method of any object at runtime, etc.
    Javagetting Started 18445 2023-01-13 00:40:09
  • How to define variables in java
    How to define variables in java
    In Java, variables can be defined through the statement "data type identifier;" or "data type identifier = initialization value;"; the identifier is also called the variable name, which consists of numbers (0~9), uppercase and lowercase letters, and underscores , dollar sign ($), RMB sign (¥) and all ASCII codes before hexadecimal 0xc0.
    Javagetting Started 7236 2021-04-13 19:05:07
  • Is there a public class required in a java source file?
    Is there a public class required in a java source file?
    Yes, there can be only one public class in a source file. Because each compilation unit (file) can only have one public class, that is, each compilation unit has a single public interface, represented by a public class; this interface can contain numerous classes that support package access permissions as required.
    Javagetting Started 15703 2023-01-13 00:40:08
  • What are the java data structures?
    What are the java data structures?
    Java data structures include: 1. List; 2. Vector; 3. ArrayList; 4. LinkedList; 5. Set; 6. HashSet; 7. LinkedHashSet; 8. SortedSet; 9. Map; 10. HashMap.
    Javagetting Started 21893 2023-01-13 00:40:08

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