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 run java files
- The method to run a java file is: 1. Prepare jdk and copy the bin directory of the jdk; 2. Add the bin directory of the JDK to the PATH environment variable; 3. Write the java program; 4. Use the javac command on the cmd command line to compile the java file; 5. Use the java command to execute the compiled java file.
- Javagetting Started 7365 2019-11-11 09:34:23
-
- The difference between overloading and rewriting in java
- The difference between overloading and rewriting in Java: Method overloading and rewriting are both ways to achieve polymorphism. The difference is that the former implements compile-time polymorphism, while the latter implements run-time polymorphism.
- Javagetting Started 11003 2019-11-11 09:30:30
-
- The difference between python and java
- The difference between python and java: Python is simpler than Java, with low learning cost and high development efficiency; Java runs more efficiently than Python, especially programs developed in pure Python, which are extremely inefficient; Java version is relatively stable, and Python2 and 3 are incompatible, resulting in a large number of classes The library is invalid.
- Javagetting Started 23984 2019-11-11 09:18:40
-
- When to use this in java
- In a general method, a formal parameter name in your method has the same name as a member of the current object. In order to avoid confusion, you need to explicitly use the this keyword to indicate that you want to use a certain For members, the usage method is "this. member name", and the one without this is the formal parameter.
- Javagetting Started 3312 2019-11-11 09:04:49
-
- java installation steps
- Java installation steps: 1. Download and install jdk; 2. Open the computer environment variable settings; 3. Add the jdk installation directory in JAVA_HOME; 4. Add JAVA variable values in Path; 5. Run java -version on the command line to test whether it is installed. success.
- Javagetting Started 41612 2019-11-09 17:25:06
-
- Determine whether the file exists java
- How to determine whether a file exists in java: first use the new keyword to create a File object; then call the exists method on the object; finally, it can be judged based on the return value of the exists method. If the return value is true, the file exists.
- Javagetting Started 4888 2019-11-09 17:19:10
-
- The difference between java se and java ee
- The difference between javase and javaee is: javaee is mostly used for enterprise-level development, including web development, etc., and is built on the basis of javase; javase can be regarded as a subset of javaee, allowing the development of java programs for desktop and server use.
- Javagetting Started 11469 2019-11-09 17:11:12
-
- How to run java program
- How to run a java program: 1. Create a new java file and write a simple output statement; 2. Open the command line and use "javac HelloJava.java" to compile and generate a class file; 3. Use "java HelloJava" to run it.
- Javagetting Started 9992 2019-11-09 17:05:52
-
- How to solve garbled code in java eclipse
- The solution to garbled characters in the eclipse editor is: 1. Enter window in the menu bar and select the preferences option; 2. Open the general option and workspace option in sequence; 3. Change the encoding format to utf-8.
- Javagetting Started 3412 2019-11-09 16:42:03
-
- java what is gc
- GC in java is the garbage collector. The GC function provided by Java can automatically detect whether the object exceeds the scope to achieve the purpose of automatically reclaiming memory. The Java language does not provide an explicit operation method to release allocated memory.
- Javagetting Started 2585 2019-11-09 14:13:23
-
- What data types does java have?
- Java's basic data types are divided into four types: integer type, floating point type, character type, and Boolean type. Java's basic data types, also called built-in types, are data types provided by the Java language itself and are the basis for referencing other types.
- Javagetting Started 9405 2019-11-09 13:52:37
-
- what is java identifier
- Java's identifier is a string starting with a letter, underscore (_) or dollar sign ($) and consisting of letters, numbers, underscore (_) or dollar sign ($). Identifiers are case-sensitive and have no limit on length.
- Javagetting Started 7798 2019-11-09 13:15:00
-
- what is java method
- A Java method is a block of code that can be called repeatedly. The definition of a method includes two parts: method header and method body. The method header can consist of the method's type, name, parentheses after the name, and a list of parameters. The method body consists of a pair of brackets and the content between the brackets.
- Javagetting Started 3684 2019-11-09 11:58:38
-
- What is method overloading in java
- Java method overloading is in a class, the method name is the same, but the parameters are different. The return types can be the same or different. Each overloaded method (or constructor) must have a unique list of parameter types.
- Javagetting Started 6200 2019-11-09 11:51:21
-
- what is java rewriting
- Rewriting in Java means that the subclass rewrites the implementation process of the parent class's methods that allow access. Neither the return value nor the formal parameters can be changed. That is, the shell remains unchanged and the core is rewritten!
- Javagetting Started 4047 2019-11-09 11:37:26