Difference between Groovy def and Java Object?

前端 未结 2 950
野的像风
野的像风 2021-02-13 20:45

I\'m trying to figure out the difference between

Groovy:

def name = \"stephanie\"

Java:

Object name = \"stephanie\"
         


        
2条回答
  •  醉梦人生
    2021-02-13 21:47

    You can experiment with groovy in the groovy web console http://groovyconsole.appspot.com/

    Your initial groovy date example works.

提交回复
热议问题