I keep getting java.io.NotSerializableException: java.io.ObjectOutputStream
问题 This is the code that I have been trying import java.util.Scanner; import java.io.*; abstract class Account implements Serializable { protected String accountHolderName; protected long balance; protected ObjectOutputStream accData; Scanner input = new Scanner(System.in); } class Savings extends Account implements Serializable { Savings() throws IOException { System.out.print("enter your name: "); accountHolderName = input.nextLine(); System.out.print("\n"); System.out.print("enter your