摘要:
定义接口 public interface StudentBuilder { Student build(String name, int age); } View Code 测试类 public class StudentDemo { public static void main(String[ 阅读全文
摘要:
接口定义 public interface MyString { String mySubString(String s,int x,int y); } View Code 测试类 public class MyStringDemo { public static void main(String[ 阅读全文
摘要:
接口定义 public interface Print { void printUpperCase(String s); } View Code PrintString类 public class PrintString { public void printUpper(String s){ Str 阅读全文