DulcetAirman icon

Interfaces in Java

DulcetAirman | PRO | 04/09/15 08:00:06 AM UTC | 0 ⭐ | 783 👁️ | Never ⏰ | []
Java |

320 B

|

None

|

0 👍

/

0 👎

    interface IFoo {
        Bar getBar();
        void setBar(Bar bar);
        Baz getBaz();
        void setBaz(Baz baz);
        Qux getQux();
        void setQux(Qux qux);
    }
    
    interface IFoo<A,B,C> {
        A getA();
        void setA(A a);
        B getB();
        void setB(B b);
        C getC();
        void setC(C c);
    }
    
    interface IMyFoo extends IFoo<Bar, Baz, Qux> {}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎