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

  • How to create a thread by inheriting the Thread class
    How to create a thread by inheriting the Thread class
    Steps to create a thread by inheriting the Thread class: 1. Create a class that inherits the Thread class and override the run() method; 2. Create an object of a subclass of the Thread class; 3. Call the start() method of the object, and then Call the run() method.
    Javagetting Started 3773 2020-06-23 18:03:26
  • Examples of the getResource() method in java
    Examples of the getResource() method in java
    This article comes from the java introductory program. It introduces the getResource() method in java with examples. It has certain reference value and I hope it can help everyone. The getResource() method is a method of java.lang.Class, which is a bytecode object call.
    Javagetting Started 5316 2020-06-22 17:37:12
  • Which function in java can get the length of a string
    Which function in java can get the length of a string
    The length() function in Java can get the length of a string and return the length of the string as an int variable. The specific usage method is: [int length = string_1.length();], use the length() function to obtain the length of the string string_1.
    Javagetting Started 5822 2020-06-22 13:20:53
  • How to install java in win10 system
    How to install java in win10 system
    The method to install java in win10 system is: 1. Go to the official website to download the required java installation package; 2. Run the java installation program; 3. Open the advanced system settings and click [Environment Variables]; 4. Create a new JAVA_HOME variable and configure the Path variable; 5. Test whether java is installed successfully.
    Javagetting Started 7859 2020-06-22 10:23:01
  • How to solve java.lang.IllegalArgumentException: input == null! exception
    How to solve java.lang.IllegalArgumentException: input == null! exception
    This article comes from the java introductory program. The article introduces the method to solve the java.lang.IllegalArgumentException: input == null! exception. It has certain reference value and I hope it can help everyone. The reason for the exception is that there is an error in the path code in the program.
    Javagetting Started 9374 2020-06-20 16:50:25
  • What is the function in java that returns the current system date?
    What is the function in java that returns the current system date?
    The function in java that returns the current system date is Date(). The java.util package provides the Date class to encapsulate the current system date and time. The Date() class provides two constructors to instantiate Date objects. The specific method is: [Date date = new Date();].
    Javagetting Started 6935 2020-06-20 09:58:52
  • How to understand java polymorphism
    How to understand java polymorphism
    Polymorphism is the third major feature of object-oriented programming after encapsulation and inheritance. Polymorphism is reflected in the fact that parent class reference variables can point to subclass objects. When calling a method using a polymorphic parent class reference variable, the overridden method of the subclass will be called.
    Javagetting Started 2499 2020-06-19 16:59:59
  • what is method in java
    what is method in java
    A method in Java refers to a set of code blocks designed to achieve a specific function. Methods have two main grammatical functions, namely: 1. Structured code, which organizes the code according to functions; 2. Reduce code duplication. When using it, you only need to call the written method instead of repeatedly writing the corresponding code. function code.
    Javagetting Started 4069 2020-06-19 09:48:13
  • What is the statement to handle exceptions in java
    What is the statement to handle exceptions in java
    This article comes from the java introductory program. It introduces the exception handling statements in java. It has certain reference value and I hope it can help everyone. The try-catch statement is used in java to handle exceptions.
    Javagetting Started 4099 2020-06-17 16:22:12
  • Introduction to the difference between heap and stack
    Introduction to the difference between heap and stack
    The difference between the heap and the stack is: 1. The heap is a runtime data area, and class objects allocate space from the heap; 2. The stack mainly stores variables and object references of some basic data types; 3. The access speed of the heap Slower, the advantage of the stack is faster access speed.
    Javagetting Started 2878 2020-06-17 16:01:46
  • What are the main implementation classes of list collections?
    What are the main implementation classes of list collections?
    The main implementation classes of the list collection are: 1. ArrayList collection, an implementation of a variable-sized array of the List interface; 2. LinkedList collection, a linked list implementation of the List interface; 3. Vector collection, which can implement a growable object array, and this implementation is synchronized of.
    Javagetting Started 12380 2020-06-17 14:35:57
  • Understanding the concepts of high cohesion and low coupling
    Understanding the concepts of high cohesion and low coupling
    This article comes from the Java introductory program. It introduces the concept of high cohesion and low coupling in detail. I hope it can help you better understand this concept. High cohesion and low coupling are the criteria for judging the quality of software design, and are mainly used for object-oriented design of programs.
    Javagetting Started 4114 2020-06-16 15:47:12
  • What is the principle of spring boot?
    What is the principle of spring boot?
    The principle of [spring boot] is: 1. Dependency management, [Spring Boot] has done a lot of starters; 2. Automatic configuration, [Spring Boot] provides configuration classes for many common components and frameworks based on Spring code configuration; 3. Embedded containers , a common web container integrating Java.
    Javagetting Started 7306 2020-06-16 14:14:35
  • What commands are needed to compile a java program?
    What commands are needed to compile a java program?
    Compiling java programs requires the javac command. The method to run the java program is: 1. Open the command prompt and enter the directory where the java program is located; 2. Execute the [javac Hello.java] command to compile the java program; 3. Execute the [java Hello] command to run the program.
    Javagetting Started 12438 2020-06-16 10:15:59
  • What are the common middleware in java development?
    What are the common middleware in java development?
    Common middleware in Java development include: tomcat, Weblogic, JBOSS, Coldfusion, Websphere, GlassFish, etc. If it is local development, it is recommended to use tomcat; if it is a large project, use JBOSS or Weblogic.
    Javagetting Started 15867 2020-06-16 09:22:18

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