How do static blocks get executed if there are multiple static blocks?
Multiple static blocks are executed in the sequence in which they are written in a top-down manner. The top block gets executed first, then the subsequent blocks are executed.