Write a method that takes in an arbitrary number of String objects, and then prints out all of them that have over 10 characters.
What will be an ideal response?
```
public void printLongStrings(String ... words) {
for(String w : words)
if(w.length() > 10)
System.out.println(w);
}
```
Computer Science & Information Technology
You might also like to view...
Compare, Contrast, and View Side By Side are three ways that Word offers to allow a user to view revisions in two documents to determine which changes to accept or reject
Indicate whether the statement is true or false
Computer Science & Information Technology
What elements are included in a method’s local environment?
What will be an ideal response?
Computer Science & Information Technology