Why init instead of static
Fragment of a discussion from User talk:Rednaxela/FastTrig
Jump to navigation
Jump to search
If I recall, the static blocks are called when the class is loaded (in order they are in the source code).
I forget if it is loaded at the same time or on first reference. I think in robocode all class files are loaded at load time. Which means it doesn't matter where it is initialized in this case.