From 38b4916100546d68e0b3d0a0793f913ebab294b0 Mon Sep 17 00:00:00 2001 From: trietbui85 <340836+trietbui85@users.noreply.github.com> Date: Sat, 15 Apr 2023 14:22:38 +0700 Subject: Update groovy.html.markdown ... with syntax to create a list with data. --- groovy.html.markdown | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3