开发者

Inheritance protected methods

开发者 https://www.devze.com 2023-02-15 03:30 出处:网络
If you have a method in your base class that is protected, can you ove开发者_如何学JAVArride this method in your subclasses?Simple answer?Yes.

If you have a method in your base class that is protected, can you ove开发者_如何学JAVArride this method in your subclasses?


Simple answer? Yes.

override protected function whatever():void {

}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号