摘要:
public class MyThread extends Thread { public void run() { for (int i = 0; i < 100; i++) { System.out.println("MyThread " + i); try { Thread.sleep(100); ... 阅读全文
摘要:
public interface A { public void func();}public class B implements A { public B() { // TODO Auto-generated constructor stub } @Override public void func() { // TODO Auto-g... 阅读全文
摘要:
public class A { int i; public A() { // TODO Auto-generated constructor stub } class B { int j; int add() { return i + j; } }}public class Test { ... 阅读全文
摘要:
public interface Person { void introduce();}public class Student implements Person { public Student() { // TODO Auto-generated constructor stub } public void introduce() { Sy... 阅读全文