A curated collection of Android interview questions and answers
- Core Java or Kotlin
- Core Android
- Design
- Data Storage
- Architecture
- Tools and Libraries
- Test Driven Development
- Others
When we have more than one method with the same name in a single class but the arguments are different, then it is called as method overloading.
Overriding concept comes in picture with inheritance when we have two methods with same signature, one in parent class and another in child class. We can use @Override
annotation in the child class overridden method to make sure if parent class method is changed, so as child class.
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.
You should make sure your question/answer is appropriate and unique for this repository and if you don't know how to contribute, you should read CONTRIBUTING guide before pull request.
All projects and packages in this repository are MIT licensed.