The transient modifier applies only to instance variables.
If you mark an instance variable as transient, you're telling the JVM to skip this variable
when you attempt to serialize the object.
A transient variable is not stored as part of its object's persistent state.
publicclass MainClass{
transientint i = 0;
publicstaticvoid main(String[] argv){
System.out.println();
}
}