String moose = "ape";
String ape = "smew";
String smew = "cat";
String cat = "moose";
String malarkey = "";
malarkey += cat.charAt(3);
malarkey += moose.charAt(1);
malarkey += smew.charAt(1);
malarkey += ape.charAt(1);
System.out.println(malarkey);