We can serialize objects of classes which implement Serializable interface.
import java.io.Serializable;
public class MyClass implements Serializable{
...
}
I also understand that we can serialize Vectors as they also implement Serializable interface. Can we serialize arrays? If yes, then of which type?
Thanks in advance.