Difference between Groovy def and Java Object?

前端 未结 2 967
野的像风
野的像风 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.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题