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

    Design Generic Java Interface


      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.

      Connection, Statement, ResultSet.

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