What is difference between serializable and parcelable ?



What is difference between serializable and parcelable ?..

Answer / Deepak Kumar Gaur

Serializable is a Java interface used to mark classes as able to be serialized, or converted into a byte stream for transmission or storage. Parcelable is an Android-specific interface that allows objects to be written to and read from a Parcel, which can optimize serialization performance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

How do you access the string resource stored in the strings.xml file?

1 Answers  


What is android sdk?

1 Answers  


What is the correct way to check if a Compass sensor is present on the system? Explain your answer.

1 Answers  


What is framelayout ?

1 Answers  


What made you jump into Android all of a sudden? Why not iOS or other mobile platforms?

1 Answers  


What is compound condition?

1 Answers  


How do you avoid an anr?

1 Answers  


What is array variable?

1 Answers  


What is local.properties?

1 Answers  


What does adb stand for?

1 Answers  


Which dialog boxes can you use in you Android application?

1 Answers   HCL,


By default ui components made in the ui editor should have text defined in file?

1 Answers  


Categories