Variables
Variable definition with def, either without specifying a type or by providing a type.
Simple enough for a 5-year-old to understand
variable with def
you don't specify the type with def, it is inferred from the value. You can also explicitly write the type: int, double, String.
def name = "Alex"int age = 36println nameprintln age