current location:Home > Technical Articles > Java > JavaBase

  • What does the '$' symbol mean in java
    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 13911 2019-12-07 09:03:00
  • What is the difference between synchronous and asynchronous in java
    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 4898 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
    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 2989 2019-12-06 16:16:50
  • How to call stored procedure in java
    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 6260 2019-12-06 15:12:09
  • How to let Java get the string entered by the user
    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 7147 2019-12-06 14:54:33
  • What are the commonly used packages in Java?
    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 4940 2019-12-06 14:11:57
  • Solution to garbled characters when url is transmitted in Chinese in Java
    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 1983 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 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 3489 2019-12-06 13:40:39
  • Introduction to the method of determining whether a string is garbled in java
    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 3119 2019-12-06 13:21:19
  • Three ways to implement Fibonacci sequence in java
    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 5445 2019-12-06 12:00:53
  • How to open java jar file
    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 17658 2019-12-06 10:57:00
  • Java cannot open smart prompt solution
    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 2833 2019-12-06 10:28:42
  • What is class inheritance in java
    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 5125 2019-12-06 10:13:31
  • java learning main function parameter passing
    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 3162 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
    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 17535 2019-12-05 16:43:56

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!