• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serializble class + toString()  RSS feed

 
kri shan
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why Serializable class (POJO implements Serializable interface) should implement toString() ?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16057
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think a Serializable class should implement toString()? There's no general rule that says this should be so.
 
Jam Rei
Greenhorn
Posts: 29
IntelliJ IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you receive a message from your IDE? Why do you think your class should be implement toString() method?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!