11 lines
115 B
Plaintext
11 lines
115 B
Plaintext
// 测试枚举
|
|
enum Color {
|
|
RED,
|
|
GREEN,
|
|
BLUE = 10,
|
|
YELLOW
|
|
};
|
|
|
|
c := RED;
|
|
println(c);
|
|
println(BLUE); |