Enter your Sign-on user name and password.

Forgot password?
  • Follow us on:
Loading video...

Start Learning Now

Our free lessons will get you started (Flash® 10 required).
Get immediate access to our entire library.

Sign up for Educator.com

Features Overview

  • Get on-demand access to our complete library
  • Search and jump to exactly what you need to learn
  • Track your progress
  • Download practice and lesson files
  • *Ask questions and get answers from our community & instructors

Numeric Wrapper Classes & Mathematical Functions

  • A list can only store objects of a class, not primitive types
  • There is a numeric wrapper class for each primitive type: Integer for int; Double for double; Boolean for boolean (Boolean is not in the AP subset)
  • Wrapper class provides a constructor to create an object with a specified value
  • Wrapper class provides an accessor method to convert back to primitive type
  • Wrapper class provides equals and compareTo methods for comparing values
  • Math class provides useful methods like absolute value, square root, and random number generation

Numeric Wrapper Classes & Mathematical Functions

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

AP Computer Science: Introduction to Java