Cal State L.A. logo and University Seal - Link back to main page

CIS 283 - Programing assignment01b

Email: jperezc at calstatela.edu

 

For this assignment you are going to write code for the following class:

- Book

Here are the specifications of class Book:

Book must have 4 INSTANCE variables. They are all Strings and have the following names:

title, authFirstName, authLastName, isbn

Read the instructions carefully.

    • create a folder called Assignment01b
    • create a file called Book.java and save it in folder Assignment01b
    • download file Test01b.class and put it in your folder Assignment01b (use Test01b_java6 for Java 6)
    • compile all java files in folder Assignment01b
    • type the following command in the DOS prompt window:

    java Test01b

    • tests will be run on your code and appropriate messages will be printed out showing which tests passed and which failed. At the end the program will tell you which option to choose in corresponding quizz in moodle.
Email: jperezc at calstatela.edu