You are wrong. Your test object does have a state,
as any new class, by default, extends
java.lang.Object. If you want to ry it, just call the
a.toString() method and print out the results. As you
create multiple test objects they will all have
different states.
On the other note, even if your Test object had no
member variables (fields), it would have an empty
state which is also a state, similar to the way an
empty set is a set in math.