4.4.3Object类
摘要:习速度节奏稍微有点慢,先来看代码实现: /* 这里说如果方法参数被定义成一个接口,则实现就需要定义一个类实现接口。除此之外我们还可以实现匿名内部类实现此操作*/ interface Animal { void shout();} public class Example{ public static
阅读全文
posted @ 2018-10-30 13:54
posted @ 2018-10-30 13:54
posted @ 2018-10-29 06:15
posted @ 2018-10-29 05:16
posted @ 2018-10-26 08:23
posted @ 2018-10-26 01:19