Q. A static constructor_____________. (Solved)
1. Is executed when the class is loaded.
2. Can be accessed through an object name.
3. Can be executed any number of times.
4. Can have its own destructor.
- a. Is executed when the class is loaded.
1. Is executed when the class is loaded.
2. Can be accessed through an object name.
3. Can be executed any number of times.
4. Can have its own destructor.