我有一个带有参数国家的方法。该参数仅包含国家的缩写。在该方法中,我想打印国家/地区的全名,而不使用 switch case 或其他东西,但使用预定义的字符串
final String VA="Vatikan";
String country="VA";
system.out.println(country);
//Is it possible that it Prints Vatikan now?
//I know not with that code but is there a possibillity to do that.