Enter your Sign-on user name and password.

Forgot password?
  • Follow us on:
Loading video...
Text Comments (4)

1 answer

Last reply by: Professor Quayle
Mon Dec 24, 2012 5:27 PM

Post by Alex Moon on December 13, 2012

What? My eclipse makes me "import java.util.ArrayList;" when I'm trying out the exercise. is this normal?

1 answer

Last reply by: Professor Quayle
Thu Jan 17, 2013 1:18 AM

Post by Sara Spiegel on January 15 at 07:49:00 PM

FYI: Linked Listed are not part of the AP Computer Science subset

Lists

  • A list is a collection of objects
  • A list can only store objects of a class, not primitive types
  • Wrapper classes are provided to get around this limitation
  • Lists are implemented through the List interface
  • An ArrayList implements the List interface
  • A LinkedList also implements the List interface (not in AP subset)
  • List methods you need to know are: size, add, get, set, remove

Lists

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