![]() |
![]() |
![]() |
![]() |
![]() |
|
You can, if you like, specify explicitly that a class is a direct subclass
of the Object class. For example, you can define the
Attraction class in either of two equivalent ways:
public class Attraction {
...
}
public class Attraction extends Object {
...
}