Tuesday, 5 October 2021

Collections Map in GroovyScripting groovy training in telugu 21

 Watch This Video

https://youtu.be/MKAfMekRaJc


---------------------------------------------------------------------------------------------------------------------

Map map=[:]
println map
println map.getClass().getName()

def person =[first:"ravi",email:"[email protected]"]
println person
println person.first
person.twiter="qdfefefregre"

println person

def emailkey="emailadress"
def whatsapp=[name:"rashmi", (emailkey):"[email protected]"]
println(whatsapp)

println person.size()

No comments:

Post a Comment

Note: only a member of this blog may post a comment.