I am working through someone else's code and learning as I go. I came across this pice of code and I wonder why would I write this?
private static int EXPECTED_LENGTH_OF_BYTE_ARRAY = 998;
public static int expectedLengthOfBHMConfigurationArray
Instead of calling expectedLengthOfBHMConfigurationArray and having a 998 returned would it not be more efficient to reference the variable EXPECTED_LENGTH_OF_BYTE_ARRAY directly?