Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found from web that Serializable and Cloneable are more difficult to implement when inheritance is present ?
why ?
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you see that?
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LOOK this link

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




[henry: removed unneeded code tags]
 
Henry Wong
author
Marshal
Pie
Posts: 20880
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok.can anyone tell me the good site for java best practises?
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anarkali perera wrote:ok.can anyone tell me the good site for java best practises?
Try this site.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic