When static variable loaded compile or runtime When static block loads

When static variable loaded compile or runtime When static block loads

Answer: Static variable loaded at run time and static block will be executed when you load the class.

Leave a Reply

Your email address will not be published. Required fields are marked *