# Compilation

The step that checks Java source code and converts it into bytecode.

## What is **Compilation** in Java?

**Compilation** — The step that checks Java source code and converts it into bytecode.

```java
class Greeting {
    String message = "Hello, Java!";
}
```

Level: Novice · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/novice)

Updated: September 27, 2026

## In other subjects

- [Compilation in C#](https://www.ask-codey.com/glossary/compilation-c-sharp)

Source: https://www.ask-codey.com/glossary/compilation
