Java Notes

Programming: Kingdom - Name

Name ______________________________

The Kingdom class should be extended to know its name. There needs to be a way to set the name, get the name, and somewhere to store the name.

Indicate your changes to the Kingdom class either here or on the Kingdom class listing.