superlint/.automation/test/groovy/groovy_good_01.groovy

7 lines
179 B
Groovy
Raw Normal View History

2020-07-14 10:28:58 -04:00
class Example {
static void main(String[] args) {
File file = new File("E:/Example.txt")
println "The file ${file.absolutePath} has ${file.length()} bytes"
}
}