Does 'extends Object' have a purpose or is it redundant?
java
Solution
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.
Problem
Following a tutorial on the internet regarding Soap development with Java, I found this link, with a rather unusual code for myself. The code: ``` public class SoapService extends Object { /** Creates new SoapService */ public SoapService() { } /** This is the SOAP exposes method */ public String sayGreeting(String name) { return "Hello "+name; } } ``` What's with the 'extends Object' syntax ? I've never encountered this kind of syntax (only on Generics). Does this syntax has any purpose or is 'plain dumb' ?