Initialized instance data in constructor for Java class