Lets say you want to serialize the following class, but only want the flour quantity saved. What

Question:

Let’s say you want to serialize the following class, but only want the flour quantity saved. What changes, if any, are required to the following class for this to occur? 

image text in transcribed

A. No changes are required.

B. Mark eggs and sugar as transient.

C. Remove the serialPersistentFields variable.

D. Remove the final modifier from the serialPersistentFields variable.

E. Add a missing modifier to the serialPersistentFields variable.

F. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: