Android Lead Developer Interview Questions

10,452 android lead developer interview questions shared by candidates

Create a class hierarchy to classify numeric values with interface Number. Define subclasses WholeNumber and RealNumber. WholeNumber has subclasses EvenNumber and OddNumber. For each integer in the inclusive range 0 to 10 descending, create a new instance of the appropriate number subclass and add it to an STL structure that supports efficient insertion and retrieval. Efficiently iterate your container and print the numeric value and whether the object is an EvenNumber, OddNumber, or RealNumber for each object. Efficiently locate the object with the smallest value not less than 9.5 and print its value. All your interactions with objects should be through the Number interface.
avatar

Android Developer

Interviewed at Garmin

3.7
Jun 15, 2020

Create a class hierarchy to classify numeric values with interface Number. Define subclasses WholeNumber and RealNumber. WholeNumber has subclasses EvenNumber and OddNumber. For each integer in the inclusive range 0 to 10 descending, create a new instance of the appropriate number subclass and add it to an STL structure that supports efficient insertion and retrieval. Efficiently iterate your container and print the numeric value and whether the object is an EvenNumber, OddNumber, or RealNumber for each object. Efficiently locate the object with the smallest value not less than 9.5 and print its value. All your interactions with objects should be through the Number interface.

1) What is a fragment? 2 ) Fragment Life cycle? 3.) what is an add and replace fragment? 4.) what is the shared preference? 5.) basic difference between commit and apply? 6.) service related question 7.) App size optimization etc 8.)what is Live data? 9.) what is the view model? 10.) why MVVM?
avatar

Android App Developer

Interviewed at Accenture

3.7
Dec 8, 2020

1) What is a fragment? 2 ) Fragment Life cycle? 3.) what is an add and replace fragment? 4.) what is the shared preference? 5.) basic difference between commit and apply? 6.) service related question 7.) App size optimization etc 8.)what is Live data? 9.) what is the view model? 10.) why MVVM?

Viewing 1591 - 1600 interview questions

Glassdoor has 10,452 interview questions and reports from Android lead developer interviews. Prepare for your interview. Get hired. Love your job.