摘要:
定义接口 public interface StudentBuilder { Student build(String name, int age); } View Code 测试类 public class StudentDemo { public static void main(String[ 阅读全文
posted @ 2020-05-19 17:53
硬盘红了
阅读(136)
评论(0)
推荐(0)
摘要:
接口定义 public interface MyString { String mySubString(String s,int x,int y); } View Code 测试类 public class MyStringDemo { public static void main(String[ 阅读全文
posted @ 2020-05-19 17:11
硬盘红了
阅读(436)
评论(0)
推荐(0)
摘要:
接口定义 public interface Print { void printUpperCase(String s); } View Code PrintString类 public class PrintString { public void printUpper(String s){ Str 阅读全文
posted @ 2020-05-19 16:47
硬盘红了
阅读(547)
评论(0)
推荐(0)

浙公网安备 33010602011771号