What is part of a method signature?
QuizEasy-MediumJava onlyAsked in: Accenture, Capgemini, Infosys, TCS, Wipro
In Java, which parts make up a method's signature (what must differ for an overload)? Pick all that apply.
- The method name
- The number, types and order of parameters
- The return type
- The names of the parameters
- The
throwsclause
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.