Transient
In the context of Java,   the transient  keyword is used as field modifier.  If we declare a field as transient; that field  would not be serialized  even if the class implements Serializable.   private transient int count;   In Java, transient is used only for fields, so methods, classes and interfaces can not be declared as transient.