Hello frejon26
Originally Posted by frejon26
public interface Serializable{
}
how would this add any functionality, or object "behavior"?
Some interfaces are like tags. If you create a class that can be serialized, that is sent through a stream, then it must be "tagged" as Serializable. To do that, we let our new class implement the Serializable interface. Well, thats how I understand it.
Hope that helped.
