User:Simpsons contributor/Obama Java

package obama; public class RandomWord {   public String obamaMatic {       String [] columnA = {"Multilateral", "Interactive", "Comprehensive", "Proactive", "Worldwide", "Cross-cultural", "Transnational", "Progressive", "Universal", "Un-Bush-like"}; String [] columnB = {"correction", "development", "reaction", "sovereignty", "preemption", "resolution", "diversity", "cooperation", "consensus", "totally-not-wimpy"}; String [] columnC = {"mechanism", "procedure", "capability", "deployment", "adjustment", "process", "revision", "facility", "program", "solution"}; String wordA = word(columnA); String wordB = word(columnB); String wordC = word(columnC); String space = " "; return wordA + space + wordB + space + wordC; }   public String word(String [] words) {       int number = words.length; double randomDouble = number * Math.random; int randomInt = (int) Math.floor(randomDouble); return words [randomInt]; } }