theScore Interview Question

In Android development, what is the difference between Parcelable and Serializable?

Interview Answer

Anonymous

Feb 13, 2016

Both are interfaces used to save object data in an accessible way (to disk or to a string). Parcelable uses the iterator pattern to save and retrieve the data while Serializable uses key/value pairs to save and retrieve data.