|
Chapter 7: Object-Oriented Programming in Java |
|---|
| Source Code in This Chapter |
|---|
![]() |
|---|
| Order now |
Ship object.
Ship2 object.
this
reference in class Ship3.
Ship4.
Ship class
illustrating object-oriented programming concepts. Incorporates Javadoc
comments. See ShipTest.java
for a test.
Ship class. See
SpeedboatTest.java for a test.
abstract) for all closed,
open, curved, and straight-edged shapes.
abstract) curved Shape
(open or closed).
Shape with straight edges (open or closed).
Shape and implements Measurable.
Measurable instances.
StraightEdgedShape and implements
Measurable.
Measurable interface;
extends Polygon.
package1.
package2.
package2.package3.
package4.
| URLs in This Chapter |
|---|
| General |
|---|