What does “contract” of a class mean

后端 未结 8 1565
再見小時候
再見小時候 2020-12-05 04:18

I am reading the book The Java Programming Language. In the chapter which explains overriding method, it says:

Making an override met

8条回答
  •  甜味超标
    2020-12-05 05:12

    in simple terms it means you would break the conditions of superclass if u make override code less accesible

提交回复
热议问题