3 Replies Latest reply: Nov 5, 2007 5:34 PM by 807603 RSS

    Design Generic Java Interface

    807603
      hi,

      I have a question regarding java interface. Usually we define an interface then we implement that interface in a class and then use that class.

      How can i write an interface whose implementation i will provide and is available for others for direct use without implementing the interface.

      Example
      Connection, Statement, ResultSet.

      Implementation for these three comes from the database venders, but how come we access the implementation using interfaces.