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:
-
- Summary on the problem of question marks and garbled characters in java
- Summary of the question mark garbled problem in "java": 1. When outputting Chinese on the web page, the output encoding is converted to "GB2312"; 2. When reading Chinese from the parameters, set the encoding to "8859_1"; 3. Input to the database For Chinese, make corresponding encoding settings.
- Javagetting Started 3799 2019-11-29 10:07:55
-
- Java implementation to determine the day of the week based on date
- The method to determine the day of the week based on the date in "java" is: first define a formatted date object, then define an array to save the day of the week information, then obtain a calendar, and then call the "parse" method to parse the data that needs to be judged It is a date type, and finally the specific date can be determined through the "if" statement.
- Javagetting Started 3253 2019-11-29 09:48:15
-
- In-depth understanding of the thread safety of various collections in Java
- This article mainly introduces the thread safety of various Java collections in detail. The editor thinks it is quite good, so I share it with you here for the reference of friends who need it.
- Javagetting Started 2162 2019-11-28 17:45:44
-
- In-depth understanding of the reflection mechanism in Java (including array parameters)
- Reflection is a key property of Java being considered a dynamic (or quasi-dynamic) language. This mechanism allows the program to obtain the internal information of any class with a known name through the Reflection APIs at runtime.
- Javagetting Started 2300 2019-11-28 17:35:34
-
- Boxing and unboxing in java
- This article introduces the concepts of boxing and unboxing in Java from the java development introductory column, hoping to help everyone better understand these two concepts. Boxing: the process of converting a basic type into a wrapper type; unboxing: the process of converting a wrapper type into a basic type.
- Javagetting Started 1951 2019-11-28 16:20:36
-
- The difference between java, javac, javadoc and jar
- This article introduces the differences between java, javac, javadoc, and jar from the java language introduction column, hoping to help everyone understand better. The java command instructs the virtual machine to run a ".class" file; the javac command is used to compile the ".java" file into a ".class" file.
- Javagetting Started 3425 2019-11-28 16:09:38
-
- Detailed explanation of how to compile and run Java files using the cmd command line
- Using the cmd command line under Windows, you can call javac.exe and java.exe in the jdk to compile and execute the java file, provided that the jdk has been successfully installed and the relevant environment variables are correctly configured. Next, let's learn how to compile and run a Java program using the cmd command line.
- Javagetting Started 5002 2019-11-28 15:52:08
-
- Detailed explanation of code specifications for Java development
- The coding standards to be followed in Java development generally include the following 7 points. Naming specifications, comment specifications, indentation formatting specifications, file name specifications, declaration specifications, statement specifications and programming specifications.
- Javagetting Started 1962 2019-11-28 15:38:12
-
- java object-oriented - encapsulation
- This article is recommended to everyone by the java language introduction column. Everyone is welcome to come to this column to learn relevant knowledge. Encapsulation in Java can be thought of as a protective barrier that prevents certain types of code and data from being accessed at will by other classes. To access the data of this type, you must use a specified method.
- Javagetting Started 2263 2019-11-28 14:12:50
-
- Difference between methods of creating files in java
- This article introduces you to the differences between methods of creating files. You are welcome to learn more knowledge by visiting the Java Programming Introduction column. "mkdir" can only be used to create folders, and only one-level directories; "mkdirs" can also only be used to create folders, but it can create multi-level directories. If the upper level does not exist, it will be created automatically.
- Javagetting Started 1994 2019-11-28 13:57:43
-
- There is a detailed introduction to the operation of jar packages in java
- This article is recommended to everyone by the java entry column. You can come to this column to communicate and learn together. The ".class" file generated after the ".java" file is compiled is packaged and becomes a jar package in java. The jar package can also contain some resource files, such as txt files, html files, css files, etc.
- Javagetting Started 2197 2019-11-28 13:30:55
-
- How to compile and run java files in the console
- The method of compiling and running "java" files in the console is: first open the console, run the "javac" command to check whether the configuration environment is correct, if not, configure the environment, then run the "javac file name" command to compile, and finally run " java file name" to compile and run.
- Javagetting Started 6682 2019-11-28 11:35:34
-
- The difference between constructor methods and ordinary methods in java methods
- The difference between the constructor method in the "java" method and the ordinary method is: 1. The name of the constructor method must be exactly the same as the class name in which it is defined; 2. The constructor method is automatically executed when initializing the object; 3. The constructor method can be overloaded ; 4. The construction method cannot be modified by keywords such as "static".
- Javagetting Started 2515 2019-11-28 10:25:51
-
- Learn more about Java generics
- Generics, that is, "parameterized types". It is to parameterize the original specific type, similar to the variable parameters in the method. At this time, the type is also defined as a parameter form (which can be called a type parameter), and then the specific type (type actual parameter) is passed in when using/calling ).
- Javagetting Started 1796 2019-11-27 18:11:47
-
- Java object serialization and deserialization
- Object serialization is to convert the Object object into a byte sequence, and vice versa is called deserialization of the object. The object must implement the serialization interface before it can be serialized, otherwise an exception will occur.
- Javagetting Started 2561 2019-11-27 17:59:22