Sunday 13 January 2019

Evaluate expressions using groovy command


By using -e options, you can evaluate the expressions.

Example
groovy -e "print \"Sum of 10 and 20 is ${10 + 20}\""



Previous                                                 Next                                                 Home

No comments:

Post a Comment