object oriented java values