Methods of the Math Class: Compute This

Class date: February 19

  1. Java API  (Application Programming Interface) Mrs. Fox calls it the recipe box! 
  2. Math class! (and methods) – lab activity, we will learn by doing: absolute value, rounding up & down, determining maximum and minimum, “to the power of” and square root.
  3. Create a project and name it MathClass
    1. Write a tester/main method class. Add seven (7) System.out.println(); statements.
    2. Mrs. Fox will guide you through the activity.
      1. abstract
      2. ceiling
      3. floor
      4. maximum
      5. minimum
      6. square root
  4. Lab: Compute This (in book pg. 6-4)
Methods of the Math Class: Compute This

Leave a comment