If you come from an OOP background, you may have noticed a very interesting aspect throughout our discussion of types. Unlike other languages, objects in Julia do not define behavior. That is, Julia's types only define fields (properties) but do not encapsulate functions.
The reason is Julia's implementation of multiple dispatch, a distinctive feature of the language.
Multiple dispatch is explained in the official documentation as follows: