current location:Home > Technical Articles > Java > JavaBase

  • What is a thread in java
    What is a thread in java
    A thread in Java refers to an instance of the java.lang.Thread class or the execution of a thread. Use the java.lang.Thread or java.lang.Runnable interface to write code to define, instantiate, and start new threads.
    JavaBase 2832 2019-11-13 13:45:43
  • what is java static
    what is java static
    Java static includes static variables, static methods, and static initialization blocks. Static variables belong to the entire class and are shared by all objects of the class; static methods can be called through the class name, and only static members of the class can be accessed in the method; static initialization blocks are executed when the class is loaded, and will only be executed once.
    JavaBase 3264 2019-11-13 13:39:14
  • What is serialization in java
    What is serialization in java
    Java serialization refers to the Java object data in the heap memory, which is stored in a disk file in some way, or passed to other network nodes (network transmission). This process is called serialization, which usually refers to the process of converting a data structure or object into binary.
    JavaBase 3298 2019-11-13 13:36:41
  • How to determine what day of the week a specified date is in java
    How to determine what day of the week a specified date is in java
    The method to determine the day of the week for a specified date in Java is: 1. First define an array to store the date information; 2. Get the Calendar object to facilitate date and time operations; 3. Set the passed time into the Calendar object; 4. Print the date information.
    JavaBase 4239 2019-11-13 13:33:47
  • What is io stream in java
    What is io stream in java
    Java io streams are mainly used for data transmission. The streams are abstracted into various classes according to the data transmission characteristics to facilitate more intuitive data operations. Java io streams can be divided into character streams, byte streams, input and output streams, etc.
    JavaBase 3296 2019-11-13 13:19:13
  • How to determine whether a certain year is a leap year in Java
    How to determine whether a certain year is a leap year in Java
    The way to determine whether a year is a leap year in Java is: first determine whether a year is a non-hundred year, and if it is a non-hundred year, then determine whether it is divisible by 4, and if it is a centenary, then determine whether it is divisible by 400. .
    JavaBase 4611 2019-11-13 13:17:21
  • what is java program
    what is java program
    A java program is a computer program written in the java language. Its entry function is the main function. The .class file is generated by the compiler and executed through the jvm.
    JavaBase 4956 2019-11-13 11:53:02
  • Example tutorial of calling interface in java
    Example tutorial of calling interface in java
    The method of calling the interface in java: 1. First URL restURL = new URL(url); 2. setRequestMethod("POST"); 3. setDoOutput(true); 4. Create a stream to write or read the return value.
    JavaBase 4680 2019-11-13 11:50:51
  • What to do if java characters are garbled
    What to do if java characters are garbled
    The solution to garbled Java characters: first re-encode the string and then decode it; then set the encoding to "name=new String(name.getBytes(),"UTF-8");".
    JavaBase 2544 2019-11-13 11:38:50
  • what is java proxy
    what is java proxy
    Java proxy does not access the target directly, but accesses it through an intermediate layer. In some cases, one object does not want or cannot directly reference another object, and the proxy object can act as an intermediary between the client and the target object. effect.
    JavaBase 4658 2019-11-13 11:37:37
  • What is the use of this in java
    What is the use of this in java
    The function of this in Java is that when the data in the class needs to be initialized, the value can be assigned through this instead of randomly defining a variable for assignment, which is more conducive to the reading and understanding of the code.
    JavaBase 4497 2019-11-13 11:29:12
  • Detailed introduction to the difference between == and equals in java
    Detailed introduction to the difference between == and equals in java
    The difference between the == symbol and equals in Java is that the == symbol can act on variables of basic data types to compare whether their stored values ​​are equal, but equals cannot act on variables of basic data types.
    JavaBase 3916 2019-11-13 11:20:35
  • What is the difference between == and equals in java
    What is the difference between == and equals in java
    The difference between the == symbol and equals in Java is that the == symbol can act on variables of basic data types to compare whether their stored values ​​are equal, but equals cannot act on variables of basic data types.
    JavaBase 2713 2019-11-13 11:19:11
  • what is java method
    what is java method
    A Java method is a method used to solve something or implement a certain function. It consists of modifiers, return value types, method names, parameter lists, and return values.
    JavaBase 3358 2019-11-13 11:15:30
  • Java determines whether number is prime
    Java determines whether number is prime
    How to determine whether a number is a prime number in Java: Use all numbers between 2 and number-1 to divide the number. If one can be divided evenly, it means that the number is a non-prime number; unless all the numbers cannot be divided evenly, it means that the number is a prime number. .
    JavaBase 2422 2019-11-13 11:12:38

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