Media Summary: This was possible before jdk 1.7 using static block. From Jdk 1.7 onwards
Can We Execute A Program Without The Main Method Core Java Interview Lecture 20 - Detailed Analysis & Overview
This was possible before jdk 1.7 using static block. From Jdk 1.7 onwards