Quick actions

cmd+k|ctrl+k

Navigation

Languages

groovy_variables1

Snippet info

Language

Groovy

Visibility

public

Author

w3xue

Created

2023-01-06T12:06:09.35832Z

Updated

2023-01-06T12:07:58.133898Z

class Example { 
   static void main(String[] args) { 
      // x is defined as a variable 
      String x = "Hello";
		
      // The value of the variable is printed to the console 
      println(x);
   }
}
INFO