1
stmt=con.createStatement();

kindly explain this and how we are creating instance of interfaces

kindly explain me the instance of interfaces are not possible, but how it is done then

James Z
  • 12,209
  • 10
  • 24
  • 44
Salman
  • 11
  • 3
  • 1
    Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Dec 20 '22 at 08:33

1 Answers1

0

createStatement() returns an instance of a concrete class that implements the Statement interface.

Mureinik
  • 297,002
  • 52
  • 306
  • 350