Below are the works that I have done

Click on them! To have a look at my codes!

public class Chat { private String question; private String[] response; public Chat(String question, String[] response) { this.question = question; this.response = response; } public String getQuestion() { return question; } public String getRandomResponse(){ int i = (int)(Math.random()*response.length); return response[i]; } }

As this was done together with my partner, I have yet to get his permission to post. Sorry for the inconvenience caused.