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

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -