摘要:
1 class Admin { 2 private String aid ; 3 private String password ; 4 private Role role ; 5 public Admin(String aid,String password) { 6 this.aid =aid 阅读全文
摘要:
1 class Item { // 父栏目 2 private int iid ; 3 private String name ; 4 private String note ; 5 private Subitem subitems [] ; //一个父栏目下有多个子栏目 6 private Pro 阅读全文
摘要:
1 class Province { 2 private int pid ; 3 private String name ; 4 private City cities [] ; 5 public Province (int pid,String name) { 6 this.pid = pid ; 阅读全文
摘要:
1 class Dept { 2 private int deptno ; 3 private String dname ; 4 private String loc ; 5 private Emp emps [] ; //多个雇员 6 public void setEmps(Emp [] emps 阅读全文
摘要:
1 public class StringDemo{ 2 public static void main(String args[]){ 3 String str ="12343264sd6223"; 4 if (isNumber(str)){ 5 System.out.println("字符串由数 阅读全文