# Comment

Text for people reading the code that the compiler ignores.

## What is **Comment** in Java?

**Comment** — Text for people reading the code that the compiler ignores.

```java
class GuestList {
    // The venue has four reserved seats.
    int reservedSeats = 4;
}
```

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

Updated: September 27, 2026

## In other subjects

- [Comment in C#](https://www.ask-codey.com/glossary/comment-c-sharp)
- [Comment in CSS](https://www.ask-codey.com/glossary/comment-software-development)
- [Comment in JavaScript](https://www.ask-codey.com/glossary/comment-javascript)

Source: https://www.ask-codey.com/glossary/comment-java
