i
Ezeiatech
Systems
Filter interviews by
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.
...
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 ...
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
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 t...
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.
Count the frequency of each word in a given string and return the result as a key-value pair.
Split the string into words using space as a delimiter.
Use a HashMap or dictionary to store the word counts.
Iterate through the list of words and update their counts.
Example: For 'I love coding', the output would be {I: 1, love: 1, coding: 1}.
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 perform...
I applied via Naukri.com and was interviewed in Apr 2023. There was 1 interview round.
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 imple...
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 a...
Count the frequency of each word in a given string and return the result as a key-value pair.
Split the string into words using space as a delimiter.
Use a HashMap or dictionary to store the word counts.
Iterate through the list of words and update their counts.
Example: For 'I love coding', the output would be {I: 1, love: 1, coding: 1}.
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 b...
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.
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 pr...
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
Top trending discussions
I appeared for an interview before Aug 2016.
For loop is used for iterating over a range of values while for each loop is used for iterating over elements of an array.
For loop is used when the number of iterations is known beforehand.
For each loop is used when the number of iterations is not known beforehand.
For loop can be used with any iterable object.
For each loop can only be used with arrays and other iterable objects.
For loop uses an index variable to access...
I applied via Campus Placement
posted on 19 Mar 2025
The mobile application life cycle includes stages from development to deployment and maintenance, ensuring optimal performance and user experience.
1. Development: Writing code using languages like Swift for iOS or Kotlin for Android.
2. Testing: Conducting unit tests, integration tests, and user acceptance tests to ensure functionality.
3. Deployment: Releasing the app on platforms like Google Play Store or Apple App Sto...
Use SQL's aggregate functions to find both max and min salary in a single query efficiently.
Use the SQL query: SELECT MAX(salary) AS MaxSalary, MIN(salary) AS MinSalary FROM Employees;
This query retrieves the highest and lowest salaries from the Employees table in one go.
Aggregate functions like MAX() and MIN() can be used together in the SELECT statement.
Ensure the salary column is numeric to avoid errors during aggre...
posted on 18 Mar 2025
I appeared for an interview before Mar 2024, where I was asked the following questions.
Flutter is an open-source UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase.
Cross-platform development: Write once, run on iOS and Android.
Fast development: Hot reload feature allows for quick iterations.
Rich UI components: Provides a wide range of customizable widgets.
Performance: Compiles to native ARM code for high performance.
Web and desktop support: Can also...
posted on 18 Mar 2025
I appeared for an interview before Mar 2024, where I was asked the following questions.
Creating a star pattern involves using loops to print stars in a specific arrangement, often resembling geometric shapes.
Determine the size of the pattern (e.g., number of rows).
Use nested loops: an outer loop for rows and an inner loop for columns.
For a right-angled triangle, print stars incrementally: 1 star in the first row, 2 in the second, etc.
For a pyramid shape, center the stars by adding spaces before printing ...
Object-Oriented Programming (OOP) in Java is a programming paradigm based on objects that encapsulate data and behavior.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: class Car { int speed; void accelerate() {...} }
Inheritance: Mechanism to create a new class using properties of an existing class. Example: class ElectricCar extends Car {...}
Polymorphism: Ability to p...
I appeared for an interview before Mar 2024.
Small application that perform crud operation
Its very good the give a scenario and according to that you have to develop a project
Inheritance is a mechanism in OOP where a new class is derived from an existing class.
It allows the new class to inherit the properties and methods of the existing class.
There are 4 types of inheritance: Single, Multiple, Hierarchical, and Multilevel.
Example: A class 'Car' can inherit properties and methods from a class 'Vehicle'.
Polymorphism is the ability of an object to take on many forms. There are two types: compile-time and runtime polymorphism.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through virtual functions and function overriding.
Polymorphism allows for code reusability and flexibility in object-oriented programming.
Example of compile-time polymorphism...
based on 1 interview experience
Difficulty level
Duration
based on 1 review
Rating in categories
Software Engineer
47
salaries
| ₹4.3 L/yr - ₹10 L/yr |
Senior Software Engineer
27
salaries
| ₹7.8 L/yr - ₹14.1 L/yr |
Software Developer
23
salaries
| ₹3 L/yr - ₹13.1 L/yr |
Machine Learning Engineer
7
salaries
| ₹5 L/yr - ₹9 L/yr |
Java Developer
6
salaries
| ₹0.9 L/yr - ₹7.5 L/yr |
HCL Infosystems
Accel Frontline
DynPro
ClaySys