Problem with initializing final static class member
posted 8 years ago
Hi I have a requirement where I need to initialize a final static member variable of a class, but the method which is used to initialize it, throws an exception. The code below may help to understand the issue:
How should I code so that I am able to initialize the final static variable?