Which pairs are valid overloads?
QuizEasy-MediumJava onlyAsked in: Accenture, Capgemini, Infosys, TCS, Wipro
Each option shows two methods in the same class. Which pairs compile? Pick all that apply.
void type(String text)andvoid type(String text, int delayMs)int find(int id)andlong find(int id)void click(By locator)andvoid click(WebElement element)void open(String url)andvoid open(String path)
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.