为了账号安全,请及时绑定邮箱和手机立即绑定
很系统,感觉不错的
整整300个j
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
那为什么要将一个类定义在另一个类里面呢?清清爽爽的独立的一个类多好啊!!
讲了 private 讲了 ste get方法设置属性,第三部对属性的合法性判断没讲啊
万物皆对象。。
包含抽象方法的类一定是抽象类,抽象类和抽象方法都需要添加关键字 abstract,且顺序为 abstract class
到最后了,卡了。。脑袋一片浆糊。。。
毫无思路,,怎么办
子类的构造的过程当中必须调用其父类的构造方法。



如果子类的构造方法中没有显示调用父类的构造方法,则系统系默认调用父类无参的构造方法。



如果显示的调用构造方法,必须在子类的构造方法的第一行。



如果子类构造方法中既没有显示调用父类的构造方法,而父类又没有无参的构造方法,则编译出错。
方法的重写:

1.语法规则

2.方法名

3.参数类型及个数
Object toString();
Object equals();
第二季的好难啊,看不太懂哎
非常喜欢简短的视频,这样可以想看就看。特好!
课程须知
本课程是Java开发的基础,需要大家:掌握 Java 基本语法的使用。如果您是新手,建议先移步 《Java入门第一季》https://www.imooc.com/learn/85
老师告诉你能学到什么?
• 掌握 Java 编程思路 • 熟练运用面向对象程序设计思想

微信扫码,参与3人拼团

意见反馈 帮助中心 APP下载
官方微信
友情提示:

您好,此课程属于迁移课程,您已购买该课程,无需重复购买,感谢您对慕课网的支持!

本次提问将花费2个积分

你的积分不足,无法发表

为什么扣积分?

本次提问将花费2个积分

继续发表请点击 "确定"

为什么扣积分?

举报

0/150
提交
取消