Home | History | Annotate | Download | only in src
      1 // Copyright 2008 The Android Open Source Project
      2 
      3 /**
      4  * Doubled sub-class, form #1.
      5  */
      6 public class DoubledExtend extends Base {
      7     public DoubledExtend() {
      8         //System.out.println("Ctor: doubled extend, type 1");
      9     }
     10 
     11     @Override
     12     public DoubledExtend getExtended() {
     13         System.out.println("getExtended 1");
     14         return new DoubledExtend();
     15     }
     16 
     17     public String getStr() {
     18         return "DoubledExtend 1";
     19     }
     20 }
     21