Originally posted by Lewin Chan: Try having a public no-param constructor for DataObject.
I would have thought that InstantiationException(s) would be reported.
posted 15 years ago
Originally posted by William Brogden: The way I read the JavaDocs for XMLEncoder, only public variables are encoded. This fits the general Java Beans approach philosophy. Your name String is private. Bill
I do not understand that.
The instance variables can, and indeed should be private.