Question: Complete the following enum called State. Each State will have a name, a capital, and a population value. If the population is not passed to
Complete the following enum called State. Each State will have a name, a capital, and a population value. If the population is not passed to the constructor, the latter sets it at zero. Include all necessary constructors and getter methods.
The code should be in java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
