Skip to content

Commit 21a65ec

Browse files
authored
create a static member (#253)
create a static member (#253)
1 parent 9659ad8 commit 21a65ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/hcsp/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
public class Main {
44
// Create a static member "message" here to store the string "Hello"
55
// 在这里创建一个名为"message"的静态成员变量,并存储字符串"Hello"
6-
6+
public static String message= "Hello";
77
public static void main(String[] args) {
88
System.out.println(message);
99
}

0 commit comments

Comments
 (0)