Untitled

Run Settings
LanguageGroovy
Language Version
Run Command
class Example { static void main(String[] args) { def lst = [1,2,3,4]; lst.each {println it} println("The list will only display those numbers which are divisible by 2") lst.each{num -> if(num % 2 == 0) println num} } }
Editor Settings
Theme
Key bindings
Full width
Lines