Three steps for running a java program

王林
Release: 2019-11-16 16:32:46
Original
11685 people have browsed it

Three steps for running a java program

Three steps for running a Java program:

1. Write Java code and change the extension to .java;

2. Use the javac command Compile the java file and generate it into a .class file;

3. Run the generated class file through the java command.

As shown in the picture:

Three steps for running a java program

Writing and saving of source program

Three steps for running a java program

Three steps for running a java program

Compilation of java program

Three steps for running a java program

Recommended tutorial:Java tutorial

The above is the detailed content of Three steps for running a java program. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!