![]() |
![]() |
![]() |
![]() |
![]() |
|
Because no direct superclass is specified
for the Attraction class, the direct superclass of the
Attraction class is taken to be the Object classa
class supplied by Java. Every class is a subclass of the Object
class, but it is not necessarily a direct subclass.