this exercise uses a PropertyDescriptor object to iterate through the
properties of the SimpleBean class, which implements Serializable.
Does that mean then, that PropertyDescriptor is describing the
Serializable class?
i'm also seeing most if not all of those properties/methods as
belonging to the BeanInfo object.


Here's the output...
run:
Field of SimpleBean = class
Field of SimpleBean = name
Field of SimpleBean = size
Methods of SimpleBean = hashCode
Methods of SimpleBean = wait
Methods of SimpleBean = getSize
Methods of SimpleBean = notifyAll
Methods of SimpleBean = equals
Methods of SimpleBean = wait
Methods of SimpleBean = wait
Methods of SimpleBean = toString
Methods of SimpleBean = notify
Methods of SimpleBean = getClass
Methods of SimpleBean = setSize
Methods of SimpleBean = getName
BUILD SUCCESSFUL (total time: 0 seconds)

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to