Can any on explain me in which condition JVM throw notserializableexception.
exmaple
class Emp implemenst Serializable
{
Address address = new Address();
}
class Address
{
Strign address;
}
in above case does JVM will throw the exception because address class is not serializable?
can anybody explain?