Groovy Type Specification - default Array List

def names ["John","Paul","George","Ringo"]
println names.class


Output of Script

 14 ms
class java.util.ArrayList

Comments

Popular posts from this blog

PCF - Cloud Foundry Overview - Starting, Restarting and Restaging applications

அவன் ஏன் கூலியானான்?

தட்டு வண்டியில் காளிக்கோயில் - சிறுகதை