//class Top { // public Top(String s) { // System.out.println("B"); // } // //} // // //public class Bottom2 extends Top { // public Bottom2(String s) { // super(s); // System.out.println("O"); // } // // public static void main(String[] args) { // new Bottom2("c"); // System.out.println(" "); // } //} //class Clidder { // protected void flipper() { // System.out.println("Clidder"); // } //} // //public class Clidlet extends Clidder { // public final void flipper() { // System.out.println("Clidlet"); // } // // public static void main(String[] args) { // new Clidlet().flipper(); // } //} //public class TKO { // public static void main(String[] args) { // String s = "-"; // Integer x = 343; // long L343 = 343L; // if(x == 343) // s+= ".e1 "; // if(x == L343) // s+=".e2 "; // if(L343 > new Integer(350)) // s+="fly "; // // System.out.println(s); // } //} //public class MyRunnable implements Runnable{public void run() {}} //class Business {} //class Hotel extends Business {} //class Inn extends Hotel {} // //public class Travel { // ArrayList go() { // return new ArrayList(); // } //} //class X {void do1() {}} //class Y extends X {void do2() {} } // //class Chrome { // public static void main (String[] args) { // X x1 = new X(); // X x2 = new Y(); // Y y1 = new Y(); // // ((Y)x2).do2(); // } //} //List> table = new ArrayList> (); //class Emu { // static String s="-"; // // public static void main(String[] args) { // try { // throw new Exception(); // } catch (Exception e) { // // try { // try { // throw new Exception(); // } catch (Exception ex) { // s += "ic "; // } // throw new Exception(); // } catch (Exception x) { // s += "mc "; // } finally { // s += "mf "; // } // } // finally { // s+= "of"; // // } // // System.out.println(s); // } //} //-ic mc mf of //interface Vessel {} //interface Toy{} //class Boat implements Vessel{} //class Speedboat extends Boat implements Toy {} // //public class Tree { // public static void main(String[ ]args) { // String s ="0"; // Boat b = new Boat(); // Boat b2 = new Speedboat(); // Speedboat s2 = new Speedboat(); // // if((b instanceof Vessel) && (b2 instanceof Toy)) s+="1"; // if((s2 instanceof Vessel) && (s2 instanceof Toy)) s+="2"; // System.out.println(s); // } //} //012