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

前端 未结 18 1008
日久生厌
日久生厌 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条回答
  •  猫巷女王i
    2021-01-03 19:55

    It just means it inherits directly from the Object class. Here is more about inheritance in Java.

提交回复
热议问题