InterviewSolution
Saved Bookmarks
| 1. |
What is static initialization?????? |
|
Answer» In JAVA, you can USE initializer blocks to initialize instance variables. ... The first time you ACCESS a static member such as a static FIELD or a staticmethod, any static INITIALIZERS in the class are executed — provided that you haven't already created an instance of the class. |
|