Prev Next

Java / static keyword

Can we have multiple static blocks in a Java class?

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

More Related questions...

Show more question and Answers...


Comments & Discussions