BAEL-4135 - When are static variables initialized? (#9607)

* Hexagonal Architecture in Java

A quick and practical example of Hexagonal Architecture in Java

* Fixed code formatting issues

* When are static variables initialized

Sample class and test class.

* Revert "When are static variables initialized"

This reverts commit c781923093ccc88bc269bea276653169065cb17b.

* Revert "Revert "When are static variables initialized""

This reverts commit 2bffdf401d4e7dc2cefd7eb16357b2d51271edad.

* New java module for static variable

Created a new core-java-lang-3 module for static variables.

* PR review changes: Added more scenarios to the static variable test

Covered the following cases:
1. Variable initialization in a static block
2. Variable initialization in a static nested class
This commit is contained in:
SauDev
2020-07-17 11:43:25 +05:30
committed by GitHub
parent 60ef1c8551
commit dc06936a5d
16 changed files with 449 additions and 1 deletions
+1 -1
View File
@@ -39,4 +39,4 @@
<assertj.version>3.12.2</assertj.version>
</properties>
</project>
</project>