Groovy web console

subscribe to the feed Subscribe
to this
site
groovy shit (via #groovywebconsole)
tweet this snippet Tweet
this
script

groovy shit

Published 7 months ago by totoro
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
println Integer.MAX_VALUE

def a = 2147483647
println a
println a.class

def b = 2147483648
println b
println b.class

def c = 100000
println c
println c.class
c = c ** 2
println c
println c.class

def d = 2147483647 + 1
println d
println d.class