So basically, the
//Black ops 2 Class generator Please help me FIX!!!!!! import java.util.Scanner; import java.util.Random; public class money
You have to initialize the variable before you use it. If if statement fails, this variable will stay uninitialized:
if
System.out.println("Primary Weapon: " + primaryWeapon);
So, where you declare it, equal it to "":
""
String primaryWeapon = ""; //The gun you get