Filter interviews by
Singleton class can lead to tight coupling, difficult to unit test, and can cause issues with multithreading.
Tight coupling: Singleton classes are tightly coupled with the application code, making it harder to change or replace them.
Difficult to unit test: Singleton classes can be difficult to unit test as they maintain their state throughout the application.
Multithreading issues: Singleton classes can cause issues wit...
lazy var is used to delay the initialization of a property until it is accessed for the first time.
Used to improve performance by delaying initialization until necessary
Helps reduce memory usage by only initializing when needed
Commonly used for properties that are computationally expensive to initialize
The design pattern used for an app and its architecture is crucial for scalability and maintainability.
Use MVC (Model-View-Controller) for separating data, presentation, and user interaction.
Consider MVVM (Model-View-ViewModel) for better separation of concerns and testability.
Implement Dependency Injection to make components loosely coupled and easier to test.
Use Singleton pattern for managing shared resources like ne...
Top trending discussions
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 appeared for an interview before Aug 2016.
posted on 11 Feb 2022
I applied via Campus Placement and was interviewed in Aug 2021. There were 4 interview rounds.
1st test was aptitude and a easy coding test
The 2nd test was pure coding based test on hacker rank platform and contains 2 easy and 2 medium question
I applied via Google and was interviewed in Mar 2022. There were 2 interview rounds.
They will test on your pations
You have crack the coding test within time..
Online test which consists of java, angular, micro services related questions
Static methods belong to the class itself, while default methods are part of an interface in Java.
Static methods can be called without creating an instance of the class, while default methods are used to provide a default implementation in interfaces.
Static methods are defined using the 'static' keyword, while default methods are defined using the 'default' keyword in Java.
Static methods cannot be overridden in subclas...
I applied via Referral and was interviewed in Jul 2023. There were 4 interview rounds.
String , Array ,Collection framework related questions.
Ecommerce site with Login,Review,AddToCart,Order features,Filter features.
based on 1 interview
Interview experience
Associate Consultant
24
salaries
| ₹2.4 L/yr - ₹10.5 L/yr |
Revit Designer
10
salaries
| ₹2.4 L/yr - ₹3.6 L/yr |
AR Analyst
8
salaries
| ₹2 L/yr - ₹4 L/yr |
Associate Consultant 2
7
salaries
| ₹3.5 L/yr - ₹5 L/yr |
Endpoint Security Analyst
5
salaries
| ₹3 L/yr - ₹3.8 L/yr |
HCL Infosystems
Accel Frontline
Northcorp Software
Diverse Lynx