constructor memory allocation in java

opencv chessboard 9x6