current location:Home>Technical Articles>Java>Javagetting Started
- 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:
-
- 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 22275 2023-01-13 00:40:10
-
- 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 3061 2021-05-06 10:03:22
-
- 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 3169 2021-05-01 12:04:04
-
- 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 9405 2021-05-01 12:00:26
-
- 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 99590 2023-01-13 00:40:09
-
- 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 32782 2023-01-13 00:40:09
-
- 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 160799 2023-01-13 00:40:09
-
- 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 151274 2023-01-13 00:40:09
-
- 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 43082 2023-01-13 00:40:09
-
- 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 92925 2023-01-13 00:40:09
-
- 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 6335 2021-04-13 17:55:39
-
- 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 18314 2023-01-13 00:40:09
-
- 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 7082 2021-04-13 19:05:07
-
- 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 15556 2023-01-13 00:40:08
-
- 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 21743 2023-01-13 00:40:08