Online Groovy Compiler
										
										
def x = 30
def y = 45

print 'Sum of x + y = ' + (x + y)
                                
                                

Output Results

										
Sum of x + y = 75