study guides for every class

that actually explain what's on your next test

CalculateSquareRoot(double n)

from class:

AP Computer Science A

Definition

This term refers to a method named "calculateSquareRoot" that takes in a parameter of type double named "n". It calculates the square root of "n" using the Math.sqrt() function and calls another method called printSquareRoot().

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.