FileOutputStream fout = context.getApplicationContext()
.openFileOutput(FILENAME, Context.MODE_PRIVATE);
ObjectOutputStream out = new ObjectOutputStream(fout);
out.writeObject(complexObject);
此代码是否适用于complexObject,它是复杂类的实例。复杂的意思是它可能包含几个其他类的实例的arraylists,很多实例变量?