Groovy web console

subscribe to the feed Subscribe
to this
site

x

Published 4 months ago by x with tags x
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
class X {

  String y = "aaa"

}
def a = new X()

assert a.getProperty("y") == "aaa"