def name = "John" def age = 25 def name = "John" def numbers = [1, 2, 3, 4, 5] def x = 10 println(x) def multiply = { x, y -> x * y } class Person { String name } def p = new Person() p.name = "John"


上一篇:
下一篇:
切换中文