Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
This term refers to a method named "printSquareRoot" that takes two parameters - "n" of type double and "squareRoot" also of type double. It prints out the formatted string containing both values.
The values or variables passed into a method when it is called. In this case, "n" and "squareRoot" are the arguments passed to printSquareRoot().
Formatting String: A string that includes placeholders for variables to be replaced later. In this case, "Square root of %f = %f" would be an example of a formatting string.