Does 'extends Object' have a purpose or is it redundant?
All objects in Java implicitly extend Object
, so I'd say it's redundant.
Unless the Object class is not actually the java.lang.Object
class (the tutorial does not include the imports, so it's hard to see), the extends Object
is redundant.