Consider this list of type array list: I am adding some code for context
List jokes = new ArrayList<>(); class Jokes { String na