Sollicitatievraag bij Mercari

How is OOPS used in Android Development.

Antwoord op sollicitatievraag

Anoniem

31 mrt 2024

1. Encapsulation is everywhere. we create classes with member variables and functions. 2. Inheritance: Activity inherits from AppCompatActivity() which again inherits from ContextWrapper(). 3. Abstraction: Ever wondered what is the actual implementation behind the setOnClickListener that we commonly use? 4. Polymorphism: When creating a recyclerview we override the methods like getItemCount, getItemType