摘要: 本学期课程总结: this关键词 ●可以使用this强调本类中的方法 ●表示类中的属性 ●可以使用this调用本类的构造方法 ●this表示当前对象 String的比较有两种方式 ●==:地址值比较。 ●equals()方法:内容比较。 main方法 public static void main( 阅读全文
posted @ 2019-12-13 19:25 lyp82ndlfjh 阅读(209) 评论(0) 推荐(0) 编辑