What is a method's signature?

  1. The signature of a method is the name of the method the type of its return value.

  2. The signature of a method is the name of the method and the names of its parameters.

  3. The signature of a method is the name of the method and the data types of its parameters.

  4. The signature of a method is the name of the method, its parameter list, and its return type.


Correct Option: D

Find more quizzes: