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 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 2864 2019-11-13 13:45:43
-
- 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 3297 2019-11-13 13:39:14
-
- 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 3339 2019-11-13 13:36:41
-
- 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 4273 2019-11-13 13:33:47
-
- 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 3332 2019-11-13 13:19:13
-
- 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 4641 2019-11-13 13:17:21
-
- 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 4987 2019-11-13 11:53:02
-
- 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 4718 2019-11-13 11:50:51
-
- 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 2578 2019-11-13 11:38:50
-
- 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 4688 2019-11-13 11:37:37
-
- 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 4536 2019-11-13 11:29:12
-
- 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 3955 2019-11-13 11:20:35
-
- 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 2749 2019-11-13 11:19:11
-
- 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 3386 2019-11-13 11:15:30
-
- 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 2453 2019-11-13 11:12:38