Keywords Groovy

Keywords, as the name suggests are special words that are reserved in the Groovy Programming language. The following table lists the keywords which are defined in Groovy.

asassertbreakcase
catchclassconstcontinue
defdefaultdoelse
enumextendsfalseFinally
forgotoifimplements
importininstanceofinterface
newpullpackagereturn
superswitchthisthrow
throwstraittruetry
while