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:
-
- What does the '$' symbol mean in java
- The "$" symbol in Java represents the end of the matching string in regular expressions. In the batch command findstr, the "$" symbol represents the end of the line. For example, "step$" only matches the last word in "hello world step".
- JavaBase 13967 2019-12-07 09:03:00
-
- What is the difference between synchronous and asynchronous in java
- The difference between synchronization and asynchronousness in Java: Synchronization means sending a request and you need to wait for the return before you can send the next request. There is a waiting process; asynchronous means sending a request and you do not need to wait for the return. You can send the next request at any time, that is No need to wait.
- JavaBase 4941 2019-12-06 16:43:55
-
- Solution to garbled code in java reading and writing html files
- Solution to garbled code in java reading and writing html files: 1. Use the InputStreamReader() method to read the HTML file and set the file encoding format. 2. Use the OutputStreamWriter() method to set the encoding format for java to write HTML files to utf-8.
- JavaBase 3031 2019-12-06 16:16:50
-
- How to call stored procedure in java
- The method of calling a stored procedure in "java" is: first load the driver, obtain the connection, then create the object of the stored procedure, set the value for the first parameter of the stored procedure, then register the second parameter of the stored procedure, and finally execute the stored procedure , get the output parameter value of the stored procedure.
- JavaBase 6302 2019-12-06 15:12:09
-
- How to let Java get the string entered by the user
- The method for "Java" to obtain the string entered by the user is: use the "Scanner" input class. First, you need to import the input class, then create an input object to save the string data entered by the user, and then call the "nextLine" method. Just get the string entered by the user.
- JavaBase 7199 2019-12-06 14:54:33
-
- What are the commonly used packages in Java?
- Commonly used packages in "Java" include: 1. Packages that provide basic classes for "Java" programming; 2. Packages that include collection frameworks, legacy collection classes, event models, date and time implementations, and various utility classes. Package; 3. Package that provides system input and output through file system, data flow and serialization.
- JavaBase 4995 2019-12-06 14:11:57
-
- Solution to garbled characters when url is transmitted in Chinese in Java
- The solution to the garbled characters when the URL transmits Chinese in Java: Use the URLEncoder.encode() method to encode the Chinese characters to be transmitted in the URL, and then decode the characters on the page where the URL transmits Chinese.
- JavaBase 2025 2019-12-06 13:56:55
-
- How to get the day of the week of the current date in java
- How to get the day of the week in java: 1. Use the Calendar.getInstance() method to get the current date, and then use the Calendar.DAY_OF_WEEK method to get the day of the week. 2. Use SimpleDateFormat("EEEE") to obtain.
- JavaBase 3543 2019-12-06 13:40:39
-
- Introduction to the method of determining whether a string is garbled in java
- How to determine whether a string is garbled in java: You can use the java.nio.charset.Charset.forName("GBK").newEncoder().canEncode("test") statement to determine whether a string is garbled.
- JavaBase 3175 2019-12-06 13:21:19
-
- Three ways to implement Fibonacci sequence in java
- This article comes from the java introductory learning column. It introduces three methods of realizing the Fibonacci sequence with examples. I hope it can help you. The implementation methods are: 1. Direct assignment method; 2. Create and print the array; 3. Call the function.
- JavaBase 5494 2019-12-06 12:00:53
-
- How to open java jar file
- How to open the jar file: 1. Use WinRAR to open the jar file, right-click the jar file, select the open method as compressed file, and then open it in the form of a compressed package. 2. Use the Java program to open the jar file, right-click the jar file and select Java(TM) platform SE to open it.
- JavaBase 17720 2019-12-06 10:57:00
-
- Java cannot open smart prompt solution
- Java cannot open smart prompt solution: 1. Select "window"-"preference". 2. Select "java" and expand it. 3. Select "Editor" and expand it. 4. Select "Content Assist" and find "Auto Activation" to modify it.
- JavaBase 2883 2019-12-06 10:28:42
-
- What is class inheritance in java
- Inheritance of classes in Java is achieved by extending other classes to form new classes. The original class is called a super class or base class, and the new class is called a subclass or derived class of the original class. In a subclass, it not only contains the attributes and methods of the parent class, but also adds new attributes and methods, so that the basic characteristics of the parent class can be shared by all objects of the subclass.
- JavaBase 5177 2019-12-06 10:13:31
-
- java learning main function parameter passing
- This article comes from the Java development introductory column. It introduces the relevant knowledge of main function parameter passing with examples. I hope it can help everyone. The command line parameter is the array args of String type in the main method. You can use the "Integer.valueOf()" method to convert the string into an integer.
- JavaBase 3215 2019-12-05 17:45:10
-
- Solution to the problem that java files display Chinese garbled characters in eclipse
- Solution to the problem that java files display Chinese garbled characters in eclipse: 1. Set the encoding method of the eclipse workspace. 2. Set the engineering coding method for a single project. 3. Set the encoding format of a single file. 4. Set the encoding method of java type files.
- JavaBase 17590 2019-12-05 16:43:56