Assume that we have defined an enum typePlanet and an instancememberMethod(), both in classSolarSystem:
class SolarSystem{ public enum Planet { MERCURY, VENUS, EARTH, MARS, JUPITER, SATURN, URANUS, NEPTUNE } void memberMethod() { … }}
Also assume, as usual, that, a totally separate and unrelatedclass, Foothill, contains the clientmain().
Which statements have enum-related compilererrors? Assume that these are isolatedstatements in otherwise sensible, error-free programs and thatthere are no variables with the namesMERCURY,… NEPTUNE anywhere in our program other than the onesseen above.
(There may be more than one
PayPal Gateway not configured
PayPal Gateway not configured