You have different types of variables that you can define in your class. In Chapter 3, Declarative Automation, we used a String (the most-used variable type) to define our movie's title, but there are more of these variable types that exist. If you are familiar with Java, you will recognize some of these types.
Besides the type, you can define whether the variable is visible or editable outside your class. Just like a user can view or edit a field in a record, a class can also view or edit a variable in another class.
We'll start by explaining the different data types available to you.