In this article, we are going to check the order of the initialization or execution of the static block, non-static block and constructor. As we know that, static members are executed at class loading time and the non-static block (instance block) and constructor are executed when the new object is…