20th Jan, 2009

Java Not Serializable Exception

Solution:

Implement the serializable interface for the class, whose objects you are going to write to a file (or) stream.

(Ex:)

importĀ  java.io.Serializable;

public class <className> implements Serializable

Leave a response

Your response:

Categories and Tags

Advertising