How to implement Serializable?
问题 How should I implement the Serializable interface? I have a class Student , and need to be able to save it to disk. For my homework, I have to serialize five different Student objects and save them to file. class Student { String mFirstName; String mSecondName; String mPhoneNumber; String mAddress; String mCity; Student(final String pFirstName, final String pSecondName, final String pPhoneNumber, final String pAddress, final String pCity){ this.mFirstName = pFirstName; this.mSecondName =