current location:Home > Technical Articles > Java > Javagetting Started

  • Summary on the problem of question marks and garbled characters in java
    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
    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
    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)
    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
    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
    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
    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
    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
    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
    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
    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
    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 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
    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
    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

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