方式1 def str1 = 'Hello Groovy' println str1 println str1.class//class java.lang.String. 方式2:双引号定义字符串.
確定! 回上一頁