Homework: Static Methods


  1. Implement (i.e., provide the code for the body of) the static method declared as follows:
  2. Implement the static method declared as follows:

    Note: Use pointIsInCircle in the implementation of numberOfPointsInCircle.

  3. Rewrite the main method in your solution to the Monte Carlo estimation of π lab so that it uses numberOfPointsInCircle (and indirectly pointIsInCircle).