1
I created a class MySocket
that extends java.net.Socket
, but I saw that class java.net.Socket
implements the interface java.io.Closeable
, and my question is: In my class MySocket
I am obliged to implement also the interface Closeable
, or for being a child of the class java.net.Socket
it automatically already implements Closeable
?
Thank you very much!
– Phrxn