2.2 Variable types and conversions

The concept

In our last post, we mentioned that Apex is a strong typed language, which means each variable must have a type and that cannot be changed. In this post, I will show you a number of frequently used variable types in Apex and a few basic operations. Here comes the code:

• • •

1.0 Scenario and Pre-requisites

Most programming language books will start with a Hello World example. While I agree that it is the simplest programme, it doesn’t have much actual usage. Furthermore, it doesn’t well depict how coding in real life will look like.

• • •
1 9 10 11