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:
-
- Garbled characters appear when inserting Chinese data into mysql database in java
- The solution to garbled characters when inserting Chinese data into the "mysql" database in "java" is: 1. Check the default character set of the database and the character set corresponding to "database"; 2. Set the default character set of the entire database to "utf" -8"; 3. Use "utf-8" encoding when specifying "JDBC" transmission.
- Javagetting Started 4987 2019-11-25 10:32:00
-
- How to classify IO streams in java
- Below, the java introductory tutorial column will introduce to you how to classify IO in java. The IO stream can be divided into input stream and output stream according to the flow direction; it can be divided into node stream and function stream according to the function; it can be divided into byte stream and character stream according to the operation unit.
- Javagetting Started 2565 2019-11-25 09:52:07
-
- What are the methods to print one-dimensional array in java
- The methods for printing one-dimensional arrays in "java" are: first, you can use the traditional "for" loop to print; second, you can use the "for each" loop to print; finally, you can call "Array" class " toString()" method prints a one-dimensional array.
- Javagetting Started 3663 2019-11-23 16:40:23
-
- Garbled characters are output in the java output statement
- The reason why the "java" output statement outputs garbled characters is that the "java" file is saved using "UTF-8" encoding, while the "javac" file is processed using the computer system encoding when compiling the file. The solution is: first store the "java" file in "GBK" encoding, and then compile and run it.
- Javagetting Started 4182 2019-11-23 16:17:29
-
- 403 error when downloading java
- The reason for the 403 error when downloading "java" is: the error may occur due to proxy server, firewall or other network problems. The solution is to first remove any traces of the failed "java" installation by uninstalling "java", and then download and install the "windows" offline installer package.
- Javagetting Started 4632 2019-11-23 15:14:32
-
- What are the common microservice frameworks in java
- Common microservice frameworks in "java" include: 1. "Spring Boot", a microservice framework suitable for inversion of control and aspect-oriented programming; 2. "Jersey", this open source framework supports "java"'s "JAX- RS API"; 3. "Play" framework, which is modular and supports asynchronous.
- Javagetting Started 3507 2019-11-23 14:25:34
-
- How to operate '--' in Java operator
- The symbol "--" in the "java" operator has an operation method such as: "int j = i--", which means that the original value of variable "i" is first assigned to variable "j", and then the value of variable "i" is subtracted. 1, or "int j = --i", which means first decrement the value of variable "i" by 1, and then assign the value of variable "i" to variable "j".
- Javagetting Started 3713 2019-11-23 14:13:03
-
- The difference between jdk and java
- The difference between "jdk" and "java" is: first of all, "jdk" is a free software development tool kit released for "java" developers, mainly used for compiling and debugging programs, while "java" is a widely used computer programming Language, widely used in enterprise-level "Web" application development and mobile application development.
- Javagetting Started 10956 2019-11-23 10:59:40
-
- Reasons and solutions for 1603 error when installing java
- The reason for the 1603 error when installing "java" is that the environment variables for the previous installation of "java" still exist, causing "jre" to fail to be installed. The solution is: first you need to open the environment variables, delete the previously configured "java" variable, then restart the computer, and reinstall "java" to configure the environment variables.
- Javagetting Started 16485 2019-11-23 10:44:20
-
- Reasons and solutions for Java installation failure
- The reason why java installation fails is: the "JDK" environment does not correspond to the operating system or the installation directory is wrong. The solution is: first make sure that the downloaded "JDK" environment corresponds to your own operating system, and then when installing the "JDK" environment, make sure that the installation path of "JRE" is not under the file path of "JDK".
- Javagetting Started 31458 2019-11-23 10:32:14
-
- Java error: Reasons and solutions for failure to load main class
- Java error: The main class cannot be loaded because the environment variable configuration is incorrect. The solution is: first open the environment variable setting, check and modify the value of the system variable, reopen the "cmd" window after the modification is completed, recompile and run the source program, and finally re-run the command "java Demo" in the original executable window. Can.
- Javagetting Started 6360 2019-11-23 10:00:04
-
- Java system prompts that the specified file cannot be found
- The reason why the java system prompts that the specified file cannot be found is: the "uploadFiles" folder is missing in the directory. The solution is: 1. Manually create a folder named "uploadFiles" in the project directory; 2. Create a new folder under "web" and manually add an arbitrary file.
- Javagetting Started 3352 2019-11-22 15:57:05
-
- How many bytes does a string occupy in java?
- In the string type in the Java programming language, one English character occupies 1 byte, while Chinese characters occupy different numbers of bytes depending on the encoding. Under "UTF-8" encoding, one Chinese character occupies 3 bytes; while using "GBK" encoding, one Chinese character occupies 2 bytes.
- Javagetting Started 8344 2019-11-22 15:39:33
-
- What is '>>' in java
- The symbol ">>" in the Java programming language represents the right shift operator in the shift operator. The general format is: "value>>num", where "num" represents the specified value to be shifted, " value" represents the number of bits to move. For example: "num>>1", this code means: "num" divided by "2".
- Javagetting Started 10942 2019-11-22 15:28:21
-
- The editor prompts that the java package does not exist
- The import program in the editor gives an error message: the java package does not exist. The reason is: there is an error in configuring the java package or the editor does not set the automatic loading package. The solution is: just configure the "folders" related settings directly in the "Importing" option.
- Javagetting Started 6263 2019-11-22 15:12:46