how would i call this code public int totalTexts() { // To be completed int texts = 0; for (int
Posted: Sun Jul 03, 2022 12:00 pm
how would i call this code
public int totalTexts() { // To be completed int texts = 0; for (int i = 0; i <discussions.size(); i++) { texts +=discussions.get(i).getReplies().size();
} return texts; }
public int totalTexts() { // To be completed int texts = 0; for (int i = 0; i <discussions.size(); i++) { texts +=discussions.get(i).getReplies().size();
} return texts; }