Here's a topic I don't understand. What's the benefit of making a private constructor and a public getInstance method? I understand why you would make the constructor private: to keep someone from ...
InaccessibleObjectException: Unable to make field private final byte[] java.lang.String.value accessible: module java.base does not "opens java.lang" to unnamed module @2a5ca609 ...