A variable which is declared as transient will not be serialized during object serialization.
public transient int limit = 55; // will not persist public int b; // will persist