> For the complete documentation index, see [llms.txt](https://heunnajo.gitbook.io/java/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://heunnajo.gitbook.io/java/undefined/before-start-java/hello-world.md).

# Hello World!

| Name        | Description                                                                                           |
| ----------- | ----------------------------------------------------------------------------------------------------- |
| javac.exe   | <p>Java Compiler. 사람이 작성한 문장을 기계어로 번역한다.</p><p>소스 파일(*.java)을 JVM가 읽을 수 있는 클래스 파일(*.class)로 변환한다.</p> |
| java.exe    | Java Interperter. 클래스 파일(\*.class)을 실행한다.                                                             |
| class       | 자바 프로그램을 구성하는 단위이다. Java의 모든 문장들은 클래스 괄호 안에 속해야한다.(2가지 예외 존재, 추후 학습 예정)                               |
| main method | Starting point of Java Program. CANNOT executable without this method.                                |

```java
class Solution {
    public static void main(String[] args) {
        /*실행할 문장을 넣는다. 첫 문장부터 순서대로 실행된다.*/
    }
}
```

컴파일러인 javac가 Hello.java 파일을 읽어서 JVM가 읽을 수 있도록 컴파일한다.

실행방법

```java
java (javafile name)

```
