summaryrefslogtreecommitdiffhomepage
path: root/groovy.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'groovy.html.markdown')
-rw-r--r--groovy.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/groovy.html.markdown b/groovy.html.markdown
index fa0658a4..89eee3dd 100644
--- a/groovy.html.markdown
+++ b/groovy.html.markdown
@@ -55,6 +55,9 @@ println x
//Creating an empty list
def technologies = []
+// or create a list with data
+technologies = ["Kotlin", "Swift"]
+
/*** Adding a elements to the list ***/
// As with Java