def class xx{ def blablabls, nome public String toString(){ nome } } j = new xx(nome: "Willian", blablabls: 24) print j.getNome() + " " + j.getBlablabls() x = [1,2,3,4] print x meuMapa = ["digo":6,"diego":7] print meuMapa.get("digo") data = new java.util.Date(); print data def iiii = "18/12/1984" dataX = new java.text.SimpleDateFormat("dd/MM/yyyy").parse(iiii) 10.times{ println "1 == ${data} | ${it} " } [25,26,30,18,19,22].each{ println it }