CS 1301 – Ch 6, Handout 1

If number of pets is not specified (second constructor), then the number of pets is set to 0. ... Note the class hierarchy below that is defined in the Java API. Number . is an abstract class which gives rise to the concrete subclasses: ... an abstract class can implement an interface in which case it does not have to implement methods defined ... ................
................