Does 'extends Object' have a purpose or is it redundant?

前端 未结 18 869
日久生厌
日久生厌 2021-01-03 19:25

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         


        
18条回答
  •  醉梦人生
    2021-01-03 19:46

    All classes extend Object implicitly anyway so it's just redundant coding having no impact.

提交回复
热议问题