Professional Documents
Culture Documents
Project 2
Project 2
In this lab, you are going to continue working with Circle and CircleTester classes. Add
the following methods:
Use the method sqrt of the class Math to compute the square root of a number in
the following manner:
double number=3.5;
double sqrtNumber = Math.sqrt(number);
double aSqrt = Math.sqrt(number + 22);
Set a breakpoint on the first line of each method of the class Circle and on the first line of
the tester client CircleTester. Afterwards, run your java project in debug mode to observe
the flow of control when a method is called from the client class.