📚 Practice Mode
Basics of Computer Languages
Learn at your own pace with hints and detailed explanations
1 / 20
Multiple Choice
Which of the following is a true statement in java?
- Static block is always executed when the JVM loads the class in java.
- Static method can be synchronized in java.
- We can throw exception in a static block.
- All of the above are true.
- Only (1) and (3) are true.