1030 Lab Week 2 – Pex02
http://www.cse.yorku.ca/~buildIt/pex/2

Before working on this exercise, please read the lecture note Chapter 2

Information on how to run eclipse, create a new project, package, and class can be found on first week’s lab note or see these video clips

Your first task in this exercise is to generate an API, based on the given javadoc. Here’s some guideline on how to read a javadoc.

javadoc.jpg

Eclipse has feature to help you generate a getter and setter method, here’s how to do that

getter_setter.jpg

Here’s an example on how to add comments

comment.jpg

Your second task is to test your class using a given .jar file. You can find a video clip on how to run a tester that is in .jar file here