fork download
  1. class PropertiesSample {
  2. static main (arags) {
  3. SampleDto sd = SampleDto();
  4. sd.title = "First Groovy";
  5. println "title:" + sd.title;
  6. println "url:" + sd.url;
  7.  
  8. Date date = new Date();
  9. println "time;" date.time
  10. }
  11. }
  12.  
  13. class SampleDto {
  14. def title
  15. def url = "http://w...content-available-to-author-only...o.jp";
  16. }
  17. }
  18.  
  19.  
  20.  
Runtime error #stdin #stdout 0.63s 217024KB
stdin
Standard input is empty
stdout
Standard output is empty