Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phiên bản Java21 cho phép hàm main không thuộc lớp nào. #17

Open
TKNgu opened this issue Jul 17, 2023 · 0 comments
Open

Phiên bản Java21 cho phép hàm main không thuộc lớp nào. #17

TKNgu opened this issue Jul 17, 2023 · 0 comments

Comments

@TKNgu
Copy link

TKNgu commented Jul 17, 2023

Cập nhật nội dung cho mục 1.4.2 "Kế đến là Java, ngôn ngữ
được gọi là hướng đối tượng thuần túy vì các hàm của nó không thể tồn tại độc lập mà phải thuộc về một class nhất
định." phiên bản java21 đã cho phép hàm main không cần thiết thuộc lớp nào.
https://openjdk.org/jeps/445

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant