• Post Reply Bookmark Topic Watch Topic
  • New Topic


Pankaj kumar Dwivedi
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I am trying to read object from file and want to check equality of data member of reading object with another OBJECT. suppose there is a class Login with serialization with two data members username and password. object L1 is written object in file and object L2 is created in source code. and i want to equate both object. in my programm there is a error java.io.InvalidCastException stream classdesc serialversion id of both objects.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!