trygve: inheritance5.k

class Base {
   public Base() { i_ = 456 }
   public int i_;
}

class Derived extends Base {
   public Derived() { i_ = 789 }
   public void test() {
     System.out.print("i_ = ").println(i_)
   }
}

(new Derived()).test()
/* GOLD:
___________________________________________________________
i_ = 789
*/