aspose file tools*
The moose likes Java in General and the fly likes why it is Serializable and Cloneable are more difficult to implement when inheritance is present Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "why it is Serializable and Cloneable are more difficult to implement when inheritance is present" Watch "why it is Serializable and Cloneable are more difficult to implement when inheritance is present" New topic
Author

why it is Serializable and Cloneable are more difficult to implement when inheritance is present

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
i found from web that Serializable and Cloneable are more difficult to implement when inheritance is present ?
why ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38393
    
  23
Where did you see that?
anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
LOOK this link

http://www.javapractices.com/topic/TopicAction.do;jsessionid=69C23CA4366A6DD9DC9863137A9552E6?Id=72




[henry: removed unneeded code tags]
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18745
    
  40

Yeah, maybe it would be good not to use that site. It seems to make vague statements, with little context, and little proof to backup those statements.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
ok.can anyone tell me the good site for java best practises?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38393
    
  23
anarkali perera wrote:ok.can anyone tell me the good site for java best practises?
Try this site.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why it is Serializable and Cloneable are more difficult to implement when inheritance is present