November 2017
Intermediate to advanced
800 pages
30h 51m
English
There are naming conventions for variables, and it is good practice to follow them, as shown in the following table:
| Naming convention | Examples | Use for |
| Camel case | cost, orderDetail, dateOfBirth | Local variables and private members. |
| Pascal (aka title) case | Cost, OrderDetail, DateOfBirth | Type names and non-private members. |
The following code block shows an example of declaring and initializing a local variable by assigning a value to it. Note that you can output the name of a ...
Read now
Unlock full access