Translate

Friday 1 October 2021

Commenting Code in Groovy Scripting groovy trainig in telugu 05

 Watch This Video

https://youtu.be/573NoyfjgUY


-----------------------------------------------------

http://groovy-lang.org/syntax.html#_single_line_comment


Java:
single line comment-  //

double line comment-  /*    */



Groovy
Single-line comment
// a standalone single line comment
println "hello" // a comment till the end of the line
Multiline comment

/* a standalone multiline comment
   spanning two lines */




No comments:

Post a Comment

Note: only a member of this blog may post a comment.