enum 태양계행성 { 수성, 금성, 지구,화성, 목성, 토성, 천왕성, 해왕성, 명왕성}public class Planet{ public static void main(String[] args) {// 태양계행성 myPlanet = 태양계행성.태양; //태양 cannot be resolved or is not a field// 태양계행성 myPlanet = 태양계행성.지구; 태양계행성 myPlanet = 태양계행성.화성; canILiveHere(myPlanet); } static void canILiveHere(태양계행성 myPlanet) { switch(myPlanet) { case 지구: System.out.println(" 생명이 살 수 있어요! "); break;..