Algorithms and OOD (CSC 207 2013F) : EBoards

CS207.01 2013F, Class 15: Documentation and Javadoc


Overview

Admin

HW4 Questions

How do we test if the constructor throws an exception?

try {
    Fraction f = new Fraction(1,0);
    fail("Zero denominator");
} catch (Exception e) {
}

Can we pay attention to precedence?

Yes

Recent ideas

Documentation

Javadoc

Informal lab.

Copyright (c) 2013 Samuel A. Rebelsky.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.