Chapter 3

Methods & Arrays — quiz

5 questions · ~4 min

Chapter 3 quiz

Question 1 of 5

You're building a Selenium test utility class. You want a method that can accept either a String selector or a By object. Which Java feature should you use?