java - Is serializable inheritable -


is serializable inheritable. particulary if have

class implements serializable{}  class b extends a{} 

is class b serializable?

yes, subclass of serializable class serializable

for more information

http://docs.oracle.com/javase/1.5.0/docs/api/java/io/serializable.html

http://java.sun.com/developer/technicalarticles/alt/serialization/


Comments

Popular posts from this blog

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

database - one php page with different contents and urls -