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

  • What is mapping in java
    What is mapping in java
    If we want to know information about certain keys and want to find the elements corresponding to them. The map data structure is designed for this purpose. Maps are used to store key/value pairs. If the key is provided, the value can be looked up. There is a one-to-one correspondence between them.
    Javagetting Started 11709 2019-11-12 16:57:12
  • How to initialize java array
    How to initialize java array
    Static initialization: During initialization, the programmer specifies the initial value of each array element, and the system determines the length of the array. arrayName=new type[]. Dynamic initialization: The programmer specifies the length of the array during initialization, and the system initializes the default value of each array element. arrayName=new type[].
    Javagetting Started 5486 2019-11-12 16:44:57
  • What are the differences between java locks?
    What are the differences between java locks?
    The difference between Java locks: fair locks and unfair locks, reentrant locks, exclusive locks and shared locks, mutual exclusion locks and read-write locks, optimistic locks and pessimistic locks, segmented locks, biased locks, lightweight locks and Heavyweight lock, spin lock.
    Javagetting Started 2038 2019-11-12 16:31:08
  • How to break out of a loop in java
    How to break out of a loop in java
    There are three ways to break out of a loop in Java: break: The default is to jump out of the innermost loop, which is the closest loop where break is located. continue: Terminates this cycle and continues the next cycle. return: End the current method.
    Javagetting Started 6123 2019-11-12 16:12:57
  • How to completely uninstall Java
    How to completely uninstall Java
    The method to completely uninstall Java is: 1. Delete the configured environment variables; 2. Uninstall JavaSE; 3. Delete all Java-related folders in the C drive; 4. Delete the JavaSoft folder in the registry; 5. Restart the computer.
    Javagetting Started 6834 2019-11-12 16:11:36
  • What does this in java mean?
    What does this in java mean?
    This in java represents the class instance itself. Usage of this: (1) Represents a reference to the current object; (2) Represents a member variable of the class, not a function parameter. Pay attention to distinguishing between function parameters and member variables when they have the same name; (3) Used for reference in the constructor A constructor that satisfies the specified parameter types.
    Javagetting Started 10877 2019-11-12 15:52:48
  • What is a class in java
    What is a class in java
    A class is a collection of entities with some common characteristics. It is an abstract data type, which is an abstraction of entities with the same characteristics. In object-oriented programming languages, a class is an abstraction of the properties and behavior of a type of "thing".
    Javagetting Started 5334 2019-11-12 15:46:17
  • what is exception in java
    what is exception in java
    An Exception in Java, also known as an exception, is an event that occurs during program execution and interrupts the normal instruction flow of the executing program. In order to handle running errors in the program promptly and effectively, exception classes must be used.
    Javagetting Started 4292 2019-11-12 15:39:21
  • What is a reference in java
    What is a reference in java
    If the type of a variable is a class type rather than a basic type, then the variable is also called a reference. Starting from JDK 1.2, object references are divided into four levels, allowing programs to more flexibly control the object's life cycle. These four levels, from high to low, are: strong reference, soft reference, weak reference and virtual reference.
    Javagetting Started 4345 2019-11-12 15:32:53
  • What is the difference between java characters and bytes
    What is the difference between java characters and bytes
    Byte is byte, which is the basic data type in Java. Characters are semantic units, and they are encoded. A character may be encoded into 1, 2, or even 3, 4 bytes. This is related to the character set encoding. English letters and numbers are single-byte, but characters in natural languages ​​such as Chinese characters are multi-byte.
    Javagetting Started 3438 2019-11-12 15:24:47
  • What are the annotation methods in java
    What are the annotation methods in java
    The comment methods in Java are: 1. Single-line comments, format: //content; 2. Multiple-line comments, format: /*content*/; 3. Document comments, format: /**content*content*/.
    Javagetting Started 5919 2019-11-12 15:21:15
  • How many bytes does the long type occupy in java?
    How many bytes does the long type occupy in java?
    The long type in Java occupies 8 bytes. The minimum value of the long type is: -9,223,372,036,854,775,808 (-2^63); the maximum value is 9,223,372,036,854,775,807 (2^63 -1).
    Javagetting Started 10254 2019-11-12 13:47:45
  • How to determine whether a java object is empty
    How to determine whether a java object is empty
    There are two judgment methods for the tool StringUtils: "StringUtils.isEmpty(CharSequence cs);" or "StringUtils.isEmpty(Object str);".
    Javagetting Started 4220 2019-11-12 13:47:31
  • The solution to the problem of garbled characters when importing java projects into myeclipse
    The solution to the problem of garbled characters when importing java projects into myeclipse
    The solution to the Chinese garbled code when importing java projects in myeclipse: 1. Set the encoding of the entire project to UTF-8; 2. Set the encoding of the java source file to UTF-8; 3. Modify the encoding method of a single project to UTF-8.
    Javagetting Started 2958 2019-11-12 13:33:14
  • What do java modifiers modify?
    What do java modifiers modify?
    The Java language provides many modifiers, which are mainly divided into two categories: access modifiers and non-access modifiers; modifiers are used to modify classes, methods or variables, and are usually placed at the front of a statement.
    Javagetting Started 1984 2019-11-12 13:28:46

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