doc: Update java.md (#1025)

This commit is contained in:
micky2333
2026-04-18 11:58:55 +08:00
committed by GitHub
parent 2c89f4e143
commit ef51311c14

View File

@@ -12,8 +12,7 @@ Java 备忘清单
```java
public class Hello {
// 主要方法
public static void main(String[] args)
{
public static void main(String[] args) {
// 输出: Hello, world!
System.out.println("Hello, world!");
}