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.

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

Level: Novice · More Java terms at this level

Updated

In other subjects