Simple default values now workig in java