Z
zalek
The interface Serializable does not have any methods or variables.
If I create a subclass of an Object class - is this class
Serializable?
For example, let say I define:
public class A extends Object{
int a;
}
Now make the following definition:
public class A extends Object implements Serializable{
int a;
}
What makes the 2nd definition Serializable?
Thanks,
Zalek
If I create a subclass of an Object class - is this class
Serializable?
For example, let say I define:
public class A extends Object{
int a;
}
Now make the following definition:
public class A extends Object implements Serializable{
int a;
}
What makes the 2nd definition Serializable?
Thanks,
Zalek