While learning JDBC, I found the Resultset is an
interface. Yet we can use its function like rs.next().

How is this possible?

I am aware when you execute a statement it returns a resultset
object. But how is a Resultset object created, when there
is no Resultset class?

thanks,

KNR