i
Ezeiatech
Systems
Filter interviews by
Reverse a string while preserving the original whitespaces.
Iterate through the string character by character.
If the character is a whitespace, add it to the result string.
If the character is not a whitespace, prepend it to the result string.
Return the reversed string with preserved whitespaces.
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
Reverse a string while preserving the original whitespaces.
Iterate through the string character by character.
If the character is a whitespace, add it to the result string.
If the character is not a whitespace, prepend it to the result string.
Return the reversed string with preserved whitespaces.
1 sql question was given , interviewer has bad internet , he was leaving and joining multiple times.
I appeared for an interview before Oct 2020, where I was asked the following questions.
Top trending discussions
I appeared for an interview before Jun 2016.
I appeared for an interview before Aug 2016.
I applied via Naukri.com and was interviewed in Oct 2021. There was 1 interview round.
I celebrated my last birthday with a cozy gathering of friends, delicious food, and heartfelt moments that made it truly special.
Hosted a small gathering at my home with close friends.
Prepared a homemade dinner featuring my favorite dishes, like pasta and garlic bread.
Decorated the space with balloons and fairy lights to create a festive atmosphere.
Played games and shared stories, which brought back fond memories.
Ended...
I appeared for an interview in May 2025, where I was asked the following questions.
Java is a versatile, object-oriented programming language designed for portability across platforms and ease of use.
Object-Oriented: Java uses objects to represent data and methods, promoting code reusability. Example: Classes and objects.
Platform-Independent: Java code is compiled into bytecode, which can run on any device with a Java Virtual Machine (JVM).
Rich API: Java provides a comprehensive set of libraries for t...
The JVM enables Java applications to run on any device by providing an environment for executing Java bytecode.
Platform Independence: JVM allows Java programs to run on any operating system without modification.
Bytecode Execution: It interprets or compiles Java bytecode into machine code for execution.
Memory Management: JVM handles memory allocation and garbage collection automatically.
Security: It provides a secure ex...
OOP is a programming paradigm based on objects, encapsulating data and behavior, promoting code reusability and modularity.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class based on an existing class, inheriting its properties (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same inte...
Variables can be categorized based on their scope, lifetime, and data type, impacting how they are used in programming.
1. Local Variables: Defined within a function or block, e.g., 'int x = 10;' inside a function.
2. Global Variables: Accessible throughout the program, e.g., 'int count;' defined outside any function.
3. Static Variables: Retain their value between function calls, e.g., 'static int counter = 0;' in a func...
An interface defines a contract for classes, specifying methods and properties without implementing them.
An interface can contain method signatures and properties but no implementation.
Classes that implement an interface must provide concrete implementations for all its members.
Interfaces support multiple inheritance, allowing a class to implement multiple interfaces.
Example: In Java, 'Runnable' is an interface that re...
based on 4 interview experiences
Difficulty level
Duration
based on 54 reviews
Rating in categories
Software Engineer
50
salaries
| ₹3 L/yr - ₹12 L/yr |
Senior Software Engineer
26
salaries
| ₹6 L/yr - ₹14 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