Hi,
Please look at the following codes
Will the class B inherits the Interface "Serializable"?Code:public abstract class A implements Serializable
{
// method
}
public class B extends A
{
// method
}
Printable View
Hi,
Please look at the following codes
Will the class B inherits the Interface "Serializable"?Code:public abstract class A implements Serializable
{
// method
}
public class B extends A
{
// method
}
You really should read the API before asking a question. In the case of Serializable, it's specifically documented.
All subtypes of a serializable class are themselves serializable.
Serializable (Java Platform SE 6)
db