Classes Quiz Practice

posted by: Ms. Martin 8 March 2011 No Comment

This quiz will primarily focus on ArrayLists, classes, interfaces and GridWorld.  There may be other material on there as well.  You should be very comfortable defining a simple class, answering questions about Bug, implementing an interface and doing ArrayList manipulations.

Here are some practice problems.  Also refer to the multiple choice practice set.

Oracle classes questions and exercises

ArrayList mystery
ArrayList — min to front
ArrayList — stutter

Review of Comparable
Comparable — Location
— note that this asks you to implement the Comparable<Location> interface, which means that your compareTo method will take an Location as a parameter.  You should be comfortable with implementing the Comparable interface and having compareTo take in an Object as a parameter.
Comparable — Point — same note as above

Oracle interfaces questions and exercises — these are all great review with solutions

Supplementary Reviews Sheets & Videos:
- Class Object Concepts & Vocabulary
- Object Class Review Slides
- defining a class
- constructors
- advanced instance methods
- encapsulation
- Interfaces
- Implementing Comparable

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 3.00 out of 5)
Loading ... Loading ...

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>