Prev Next

Java / Class Variables (Static Variables)

Can we have multiple static blocks in a Java Class?

Yes, a Java class can have more than one static block. It will be executed in the same order as it appears.

More Related questions...

Show more question and Answers...


Comments & Discussions