Is there a difference between super.getX and simply x? [JAVA]

后端 未结 0 594
清歌不尽
清歌不尽 2020-12-08 15:08

I have a class that has a protected value x and I have another class that extends that class.

In the extended class is there any difference between saying return supe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题