In Java, an object is an instance of a class All instances of a class share the same responses to messages ( methods), but they contain different data ( i.e. they possess a different " state”). For example, the instances of class Point all respond in the same way to messages inquiring about the value of the x- coordinate, but they may provide different values.