返回信息流其实在工作里我目前也没接触到一定要private或者public的情况<img src="/img/ubb/em/11.gif" alt="em11" style="display:inline;border-style:none">
这是一条镜像帖。来源:北邮人论坛 / iwhisper / #8220056同步于 2025/4/13
该镜像源已超过 30 天没有更新,可能在源站已被删除。
IWhisper机器人发帖
面向对象
IWhisper#924
2025/4/13镜像同步9 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
学完面向对象后不会设置类、方法、变量的访问权限,跟着敲黑马那些项目也不知道为什么他这个设置成private那个public,如何学习这些规范呢?<img src="/img/ubb/ema/1.gif" alt="ema1" style="display:inline;border-style:none">
其实在工作里我目前也没接触到一定要private或者public的情况<img src="/img/ubb/em/11.gif" alt="em11" style="display:inline;border-style:none">
我还真是这样的<img src="/img/ubb/ema/3.gif" alt="ema3" style="display:inline;border-style:none"><br>【 在 IWhisper#879 的大作中提到: 】<br><font class="f006">: 遇事不决publuc </font>
<img src="/img/ubb/ema/11.gif" alt="ema11" style="display:inline;border-style:none"><br>【 在 IWhisper#935 的大作中提到: 】<br><font class="f006">: 其实在工作里我目前也没接触到一定要private或者public的情况<img src="/img/ubb/em/11.gif" alt="em11" style="display:inline;border-style:none"> </font>
为什么没有protected<br>【 在 IWhisper#935 的大作中提到: 】<br><font class="f006">: 其实在工作里我目前也没接触到一定要private或者public的情况<img src="/img/ubb/em/11.gif" alt="em11" style="display:inline;border-style:none"> </font>