Appendix B. JavaFX Script: a quick reference
This appendix is an ultraterse guide to JavaFX Script, almost like flash cards for each of the topics covered in the main language tutorial chapters earlier in this book. As well as acting as a quick reference to the language syntax, it could also be used by highly confident developers (impatient to get on to the projects) as a fast track to learning the basics of the JavaFX Script language.
JavaFX Script variables are statically, not dynamically, typed. The language has no concept of primitives in the way Java does; everything is an object. Some types may be declared using a literal syntax. We call these the value types, and they are Boolean, Byte, Character, Double, Duration, Float, Integer, Long, Number, Short, and String. KeyFrame, an animation class, also has its own specific literal syntax (dealt with in the chapters dealing with animation timelines).
Aside from having their own literal syntax, value types can never be null, meaning unassigned value types have default values. Value types are also immutable.