Add office photos
Engaged Employer

Ezeiatech Systems

3.8
based on 43 Reviews
Filter interviews by

British Engines Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is intent services? Intent service vs service

Ans.

Intent Service is a subclass of Service that performs a single operation on a separate thread.

  • Intent Service is used for long-running operations that do not require user interaction.

  • It is started with an Intent and runs on a separate thread.

  • It stops itself automatically when the operation is complete.

  • It can be used for tasks like downloading a file or uploading data to a server.

  • Intent Service is useful for performing background tasks without affecting the UI thread.

Add your answer

Q2. What is ForeGround services, how to implement them

Ans.

Foreground services are services that have a higher priority and are visible to the user.

  • Foreground services are used to perform tasks that are noticeable to the user, such as playing music or downloading files.

  • They require a notification to be displayed to the user, indicating that the service is running.

  • To implement a foreground service, you need to create a service class and call startForeground() method in it.

  • You also need to create a notification using NotificationCompat...read more

Add your answer

Q3. Can a final class in java be inherited

Ans.

No, a final class in Java cannot be inherited.

  • Final classes are those classes which cannot be extended or inherited.

  • If a class is declared as final, it means that it cannot be subclassed.

  • Final classes are used to prevent modification of a class's implementation.

  • Final classes are also used to improve performance and security.

  • For example, the String class in Java is a final class and cannot be inherited.

Add your answer

Q4. How to set bitrate in ExoPlayer

Ans.

Bitrate can be set using DefaultTrackSelector in ExoPlayer

  • Create a DefaultTrackSelector instance

  • Create a TrackSelection.Factory instance

  • Set the bitrate using the factory

  • Set the track selector to the player

Add your answer
Discover British Engines interview dos and don'ts from real experiences

Q5. Differences between MVP and MVVM

Ans.

MVP and MVVM are architectural patterns used in software development for separating concerns and improving maintainability.

  • MVP stands for Model-View-Presenter and is a pattern where the presenter acts as a mediator between the view and the model.

  • MVVM stands for Model-View-ViewModel and is a pattern where the view model acts as a mediator between the view and the model.

  • In MVP, the view is responsible for updating the presenter, while in MVVM, the view model is responsible for ...read more

Add your answer

Q6. HashMap vs Linked HashMap

Ans.

HashMap is unordered while LinkedHashMap maintains insertion order.

  • HashMap provides faster access and retrieval of elements while LinkedHashMap maintains the order of insertion.

  • LinkedHashMap is useful when we need to maintain the order of insertion of elements.

  • HashMap is preferred when order is not important and faster access is required.

  • Example: HashMap is used in caching while LinkedHashMap is used in LRU cache implementation.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Android Developer Interview Questions from Similar Companies

3.9
 • 27 Interview Questions
4.1
 • 19 Interview Questions
3.9
 • 12 Interview Questions
3.3
 • 11 Interview Questions
4.0
 • 11 Interview Questions
3.7
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter