Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Serialization:

 
peria samy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i complie this program i get one error. The error is follows
Serialize.java:24: cannot find symbol
symbol : method readObjcet()
location: class java.io.ObjectInputStream
Object c1 = i.readObjcet( );
please help me to find out the error


 
Tony Docherty
Bartender
Posts: 2965
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message tells you exactly what the problem is: It says the ObjectInputStream class doesn't have a method called "readObjcet( )". Check the spelling.
 
peria samy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tony Docherty for your help. Actually , as you though , i am new to this forum and also this is my first post.I follow your instruction hereafter. thank you once again
 
Tony Docherty
Bartender
Posts: 2965
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My pleasure
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic