Translate

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:"ravikuamr@email.com"]
println person
println person.first
person.twiter="qdfefefregre"

println person

def emailkey="emailadress"
def whatsapp=[name:"rashmi", (emailkey):"uiwhdiuhi@email.com"]
println(whatsapp)

println person.size()

No comments:

Post a Comment

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