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:
-
- 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
- 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
- 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
- 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
- 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?
- 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
- 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
- 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
- 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
- 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?
- 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
- 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?
- 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?
- 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?
- 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