Java Comment
Giới thiệu
Single-line Comments
Cú pháp
Ví dụ
public class Main {
public static void main(String[] args) {
// Đây là một comment một dòng
System.out.println("Hello, World!"); // In ra màn hình dòng chữ Hello, World!
}
}Giải thích
Multi-line Comments
Cú pháp
Ví dụ
Giải thích
Documentation Comments
Cú pháp
Ví dụ
Giải thích
Bài Tập Thực Hành
Gợi ý
Last updated