Prevent Serialization of a field

Report a typo

Look at the following code snippet:

public class CreditCard implements Serializable {
    String name;
    String expDate;
    String cvv;
}

Which of the following lines would prevent the cvv field from being serialized?

Select one option from the list
___

Create a free account to access the full topic