//20142966 黄伟鹏 //2015.10.25 //信1405-1班 public class Decode { public static void main(String[] args) { String s1="abcdefx"; for(int i=0;i<s1.length();i++) { char s2=s1.charAt(i); char s3; if(s2=='x') { s3='a'; } else if(s2=='y') { s3='b'; } else if(s2=='z') { s3='c'; } else { s3=(char) (s2+3); } System.out.print(s3); } } }