1. Using Objects and Methods
Method Signatures — Quiz
Test your understanding of method signatures with 5 practice questions.
Practice Questions
Question 1
In Java, what best describes a method signature?
Question 2
Which method signature matches a method named $sum$ that takes two $int$ values and returns an $int$?
Question 3
What is the parameter list in the method signature public String greet(String name)?
Question 4
Which two methods are overloaded versions of the same method name?
Question 5
Which call correctly matches the signature public double average(int a, int b)?
