package school; import java.util.HashMap; import java.util.Scanner; public class SHNG { public class StringVariables { public StringVariables(String[] args){ Scanner user_input = new Scanner( System.in ); String first_name; System.out.println("Enter your first name: "); first_name = user_input.next( ); String last_name; System.out.println("Enter your last name: "); last_name = user_input.next( ); } } public static void main(String[] args){ HashMap name; name = new HashMap() { { put("A", new String[]{"Amazing","Associate","awkward"}); put("B", new String[]{"Badass","Boyish","Backwards"}); put("C", new String[]{"Captian","Commander","Chuck",""}); put("D", new String[]{"Deviant","Destroyer","Death"}); put("E", new String[]{"Effing","Extra","Efferent"}); put("F", new String[]{"Fucking","Fun","Fabulous"}); put("G", new String[]{"Great","Grusome","Grunt"}); put("H", new String[]{"Hellrasing","Halfwit","Halogen"}); put("I", new String[]{"Intense","Igloo","Indifferent"}); put("J", new String[]{"Jelious","Jolt","Jerry"}); put("K", new String[]{"Killer","KKK","Kelen"}); put("L", new String[]{"Leglover","legless","legume"}); put("M", new String[]{"MOM","Majorbitch","Magnanimous"}); put("N", new String[]{"Nice","Nicotine","Nick"}); put("O", new String[]{"Oyster","Over-The-Top","Ominous"}); put("P", new String[]{"Pathitic","Penis","Paul"}); put("Q", new String[]{"Queer","Quirky","Queen"}); put("R", new String[]{"Rude","Rowdy","Randy"}); put("S", new String[]{"Sarah-is-gay","Sergeant","Stupid"}); put("T", new String[]{"Tasteless","Toby","Tacky"}); put("U", new String[]{"Uranus","Unique","Ugly"}); put("V", new String[]{"Vector","Valor","Victorious"}); put("W", new String[]{"Wacky","Whale","Wavey"}); put("X", new String[]{"Xtreme","Xander","Xeroxed"}); put("Y", new String[]{"YOLO","You-Suck","Youthful"}); put("Z", new String[]{"Zulu","Zander","Zumies"}); System.out.println(); }; }; /** * */ } //for(String key : name.keySet()) { //if(key.length() == 1){ //first.put(key, name.get(key)); //} //} //}