This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Error in Serialization: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Error in Serialization: " Watch "Error in Serialization: " New topic
Author

Error in Serialization:

peria samy
Greenhorn

Joined: Jun 17, 2013
Posts: 6
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

Joined: Aug 07, 2007
Posts: 1947
    
  28
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

Joined: Jun 17, 2013
Posts: 6
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

Joined: Aug 07, 2007
Posts: 1947
    
  28
My pleasure
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in Serialization:
 
Similar Threads
Serializable Super class,Non-Serializabl Sub Class
Strange error
compiler error saying method of serializable to be overridden
Serialization Problem
Serialization - flush() required after using writeObject()?