Solutions to other chapters:
Java Methods A & AB:
|
1. | (c) | F -- it's the other way around: it tells where the compiler can find classes used by this class. |
2. | (a) | T -- we can say that, meaning that its source code
defines three classes, FootTest , Foot ,
and CoordinateSystem , even though it also uses a number
of library classes.
It wouldn't be a big mistake to exclude CoordinateSystem
from the count, because this class is hidden in the jar file and
is reused in different programs, so we can view it as our own
"library" class.
|
(d) | F |
3. | (b) | 300-350 |
5. | (b) | T |
(e) | F -- An object may not even have
an init method. |
Copyright © 2006 by Skylight Publishing