Commit Graph

1 Commits

Author SHA1 Message Date
SauDev dc06936a5d 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
2020-07-16 23:13:25 -07:00