i
CGI Group
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
In Dependency Injection, the dependencies of a class are injected from the outside, typically through constructor injection or setter injection.
This helps in achieving loose coupling between classes, making the code more modular and easier to test.
Example: Spring Framework uses Dependency Injec...
Exceptions in inheritance are handled using try-catch blocks in the subclass.
Inherited methods can throw exceptions that need to be caught in the subclass.
Subclass can override superclass methods and handle exceptions differently.
Superclass methods can declare checked exceptions that subclasses must handle.
Exceptions can be rethrown or wrapped in a new exception in the subclass.
Immutable class is a class whose instances cannot be modified after creation.
Immutable classes have all fields as final and private.
Immutable classes do not have any setter methods.
Examples of immutable classes in Java are String, Integer, and LocalDate.
I have implemented design patterns like Singleton, Factory, and Observer in various projects.
Implemented Singleton pattern to ensure only one instance of a class exists.
Utilized Factory pattern to create objects without specifying the exact class of object that will be created.
Used Observer pattern to establish a one-to-many dependency between objects, so that when one object changes state, all its dependents are notif
To improve the performance of a running application, consider optimizing code, database queries, caching, and server resources.
Optimize code by identifying and fixing bottlenecks, reducing unnecessary loops, and improving algorithms.
Optimize database queries by using indexes, avoiding unnecessary joins, and limiting the amount of data retrieved.
Implement caching mechanisms to store frequently accessed data in memory, r...
Top trending discussions
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.
I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.
Puzzles, Psychometric Test
I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.
First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.
I was interviewed in Sep 2016.
I am a passionate software developer with experience in Java, Python, and web development.
Experienced in Java, Python, and web development technologies
Strong problem-solving skills and ability to work in a team
Completed multiple projects including a web-based inventory management system
I was interviewed in May 2017.
I was interviewed in Jun 2017.
I was interviewed in May 2017.
I was interviewed in Aug 2017.
based on 1 interview
Interview experience
Software Engineer
8.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
7.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Analyst
3.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
1.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Test Engineer
1.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech