Like properties of java