So in this case when java.io.* and java.custom.* are imported in the class,
The import statements are evaluated at compile time, and in the class file the classes are referred by by full package + class names.
If there is s static initializer block in this code or in java.Custom
I see no static initializer block in this class. It would look like this
This non-static initializer is executed along with every constructor.
You provided no constructor, so the compiler inserted a default one:
one without arguments and performing super().
If you write another class, and do something like this in its main method,
and let that class run, then the TestLoading class will be loaded and initialized, and the an instance will be created and returnInt exevcuted.
You might want to insert System.out.println calls into the methods you want to track.