This week's book giveaway is in the Java in General forum. We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line! See this thread for details.
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.