You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

A.java 337B

1234567891011121314151617181920
  1. package p;
  2. // This class does *nothing* clever, but does match the advice in X
  3. public class A {
  4. public A() {
  5. }
  6. public static void main(String[] argv) {
  7. A anA = new A();
  8. anA.sayhi();
  9. anA.sayhi();
  10. System.err.println("Tests in A have passed");
  11. }
  12. public void sayhi() { System.err.println("hi from A"); }
  13. }