Originally posted by sachin kamble:
Why we need interface?
If we can declare and define the same methods in our class also.
Originally posted by Campbell Ritchie:
public class MotionFrame extends JFrame implements MouseListener
In fact this a question I ask in all interviews: Is ResultSet an Inteface or Class ? And If yes then who provides the implmentation for it.