I have a question and i suppose this is trivial for most around here. However, here goes -- I have an application that connects to a database to read specific information.
You can instantiate those static variables in static method of global, instead of constructor But this is not a good style:
static initialize(DBAccessInput input) { a = ... b = ... }