means initialization works in java