All Behaviour is inherited
So much depends on how your dog gets on in life I thought it appropriate to write about Inherited Behaviour because all dogs will certainly have inherited behaviour.
The behaviour of dogs like all animals gets inherited via genetic pre-disposition and genetic memory. Genetic pre-disposition towards certain types of behaviour or attitudes in life are inherited at birth, much like the pre-programmed default factory settings you may find on a computer or TV when you buy it new.
What they govern are things like a dogs prevailing temperament/personality and the type of behaviour that comes instinctively to him when faced with different situations or events. As an example everything from how readily he will pursue prey to how confident, fearful or aggressive he will become in more testing situations and even how strongly he will emotionally attach to Anna and Marcus making later separation issues in him more likely.
Genetic memory is a rather different phenomenon. If an animal repeats a specific behaviour enough times, a memory of this behaviour eventually get stored in its genes and cells, which is then passed down from one generation to the next. This is how birds know when to migrate. For example or how to build nests, without any other bird showing them. Or how sheepdogs know how to stalk and round up sheep without any other dog showing them. It is purely down to the effects of inherited genetic pre-disposition and memory.
The same phenomenon is behind all different and also far more genetically magnified working instincts found in different breeds of dog. In other words they are born with certain inherited compulsion to behave in a specific way.