摘要:
Lab 6: Getting Started on Project 2 Goal Learn how to run Java from the command line. Learn how to process file and directories in Java. Learn how to 阅读全文
摘要:
扩展,类型转换和高阶函数 前言 implements关键字可以用来表示interface之间的关系(接口继承),而类和类之间的继承关系则需要extends来实现。 extends关键字(继承) extends关键字可以在保持原有功能的同时让我们增加新功能,形成一个新的子类。 例如: public c 阅读全文