1. Write constructor bodies using this() and super() to access overloaded or overriden constructors in the current or a parents class.
        import java.awt.*;
        public class Test() extends Frame {
            public Test(String a) {
              this(a,0);
            }
    
            public Test( String a, int b) {
              super(a);
              this.b = b;
            }
        }
    





{submenus}
DISCLAIMER
   
 

 

1