import java.util.ArrayList; /** * @author * @version */ public class CelebrityTester { public static void main(String[] args) { ArrayList list = new ArrayList(); list.add(new Celebrity(" Aaron Rodgers","My number is 12")); list.add(new Celebrity(" Fr. Tony"," really tall, is a caption, says mass ")); list.add(new Celebrity(" Vladimir Putin"," he is old and ugly, and wants to invade a country")); list.add(new Celebrity(" vin Diesel"," he drives a car and he is only known for one role, his head is pretty shiny.")); list.add(new Celebrity(" Troy Baker"," I voice acting every video game")); list.add(new Celebrity(" Ian McKellen"," I play Gandalf")); list.add(new Celebrity(" Leo DiCaprio"," I was in Titanic")); list.add(new Celebrity(" Henry Cavill"," I am an actor in Witcher")); list.add(new Celebrity(" Matt Damon"," I play Will hunting from Goodwill hunting")); list.add(new Celebrity(" The Rock"," he is tall and buff. He is friends with the smallest funniest dudes in Hollywood")); list.add(new Celebrity(" Christian Bale"," I was an American psycho")); list.add(new Celebrity(" Hayden Christensen"," I don't like sand")); list.add(new Celebrity(" Ryan Reynolds"," owns aviation gin")); list.add(new Celebrity(" John Cena"," wrestler you can't see")); list.add(new Celebrity(" Tobey Maguire"," Sam Raimi Spider-Man")); list.add(new Celebrity(" Chris Evans"," Captain America")); list.add(new Celebrity(" Nicolas Cage"," main character of national treasure")); list.add(new Celebrity(" Jack black"," Play the girl in a man's body")); list.add(new Celebrity(" Matthew Mercer"," dungeon master for critical role")); list.add(new Celebrity(" Michael Jackson"," Best singer of all time most face miss person of the 20th century")); list.add(new Celebrity(" Keanu Reeves"," I dodged bullets in slow motion")); list.add(new Celebrity(" Aaron Liem"," studied AP computer science A in 2022")); list.add(new Celebrity(" Barney","I am purple")); list.add(new Celebrity(" Dwayne Johnson"," wrestler and movie star")); list.add(new Celebrity(" the hamburger"," Ronald McDonald evil henchman")); list.add(new Celebrity(" Elmo"," he lives on Sesame Street")); list.add(new Celebrity(" Dwayne Johnson"," his nickname is another word for Boulder")); list.add(new Celebrity(" Barney"," big, purple, dinosaur tail")); list.add(new Celebrity(" Ewan McGregor"," hello there")); list.add(new Celebrity(" the Beatles"," pretty overrated, but very famous, but they will come together")); list.add(new Celebrity(" Homer Simpson"," he is the head of the Simpsons family and has an IQ of 55")); list.add(new Celebrity(" Vladimir Putin"," I am the richest man in the world, but I still miss the old days")); list.add(new Celebrity(" Michael Jackson"," was once black and turned white, a good singer and dancer ")); list.add(new Celebrity(" Clayton Kershaw"," my future is uncertain, but I believe my best color is blue")); list.add(new Celebrity(" Bradley Cooper"," I was in American sniper")); list.add(new Celebrity(" Amy Adams"," I was in the arrival movie")); list.add(new Celebrity(" Big Bird"," I am 6 feet tall and covered with yellow feathers")); list.add(new Celebrity(" Kanye West"," I made college dropout")); list.add(new Celebrity("Jungkook"," youngest member of BTS")); list.add(new Celebrity(" Kanye West"," I make music and sell sneakers")); list.add(new Celebrity(" Johnny Depp","I am a sparrow that would like a black pearl")); //2023 list.add(new Celebrity("Walter White-Heisenburg","I am a cook like no other. My recipes are not even eaten. I like what I do until the die I die. I love my baby, the color of the sky.")); list.add(new Celebrity("The Rock","Larger than a pepple but smaller that a boulder")); list.add(new Celebrity("Tom Holland","It says Holland but I'm not Dutch")); list.add(new Celebrity("Tom Cruise","I start as a cartoon cat, and end as journey across the sea.")); list.add(new Celebrity("Han Solo","Who is the lonlyest in Star Wars? ")); list.add(new Celebrity("Kanye West","I made graduation")); list.add(new Celebrity("Christian Bale","I am like a bunch of hay in a church.")); list.add(new Celebrity("Sal Goodman","I fight for Albequerque, you better call me.")); list.add(new Celebrity("Batman","Vengeance")); list.add(new Celebrity("Mario","I fight spikey turtles")); list.add(new Celebrity("Curious George","I want to know more about the Man who wears a yellow Hat.")); Celebrity cel = new Celebrity("Bob Belcher", "Makes burgers for Louise"); //construct a Celebrity object System.out.println(cel); //test toString System.out.println("Celebrity clue: " + cel.getClue()); System.out.println("Celebrity name: " + cel.getAnswer()); //change the clue cel.setClue("Makes burgers for Linda"); System.out.println("Celebrity clue: " + cel.getClue()); //change the celebrity and the clue cel.setAnswer("Vint Cerf"); cel.setClue("Is known as the \"Father of the Internet\""); System.out.println(cel); //Your code here to print the names in list: } }