Android Developer Question: Download Questions PDF
Please explain what is difference between Serializable and Parcelable ? Which is best approach in Android?
![Android Developer Interview Answer Android Developer Interview Question](https://globalguideline.com/public/images/interview/19.png)
Answer:
Serializable is a standard Java interface. You simply mark a class Serializable by implementing the interface, and Java will automatically serialize it in certain situations.
Parcelable is an Android specific interface where you implement the serialization yourself. It was created to be far more efficient than Serializable, and to get around some problems with the default Java serialization scheme.
Parcelable is an Android specific interface where you implement the serialization yourself. It was created to be far more efficient than Serializable, and to get around some problems with the default Java serialization scheme.
Download Android Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain me what is a broadcast receiver? | Explain me three common use cases for using an Intent? |