Saving Serialized objects



ok i need serious help

Im using this as a basic example

lets say i have a class

public class AddNum implements Serializable
{
public int mCount;

AddNum()
{
mCount = 0;
}

public void Add()
{
mCount++;
}
}

how can i save an object of this class utlizing serialization in the
process?

i have tried for almost a week now on my own and i am serously struggling

any help would be great

TIA

Christo


.