This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getRandomNumber() { | |
randomInt = new Random().nextInt(11) | |
} | |
def buildCell() { | |
"""${getRandomNumber()} <br> | |
+ ${getRandomNumber()} <br> | |
<hr width=40px> | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test { | |
void method1() { | |
println 'In method1' | |
} | |
void method1(String foo) { | |
println "In method1 with String param of $foo" | |
} | |
static method2(String foo) { |
NewerOlder