Let's look at a simple example, to understand how initialize method could be inherited from parent class:
In the above code example, we could observe that the @driving was written only once in parent class and could be used in child classes. So that means the same initialize method is inherited by child classes from parent.