Before Introducing Inheritance … Here is another way to re-use what have been developed: This is known as the object composition! A real-world example.
Java Graphics Swing Graphics. Java 2D API Java contains sophisticated drawing capabilities Java 2D API successor technology JavaFX Java 2D capabilities.
Chapter 15 Graphics and Java 2D™ Java How to Program, 8/e (C) 2010 Pearson Education, Inc. All rights reserved.