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

  • How to run java files
    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
    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
    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
    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
    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
    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 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 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
    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
    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?
    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
    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
    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
    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
    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

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