I created a class MySocket
that extends java.net.Socket
, however I saw that the java.net.Socket
class implements the java.io.Closeable
interface, and my question is: In my MySocket
class I have to implement the interface Closeable
, or because it is a child of class java.net.Socket
it automatically already implements Closeable
?