Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by CGI Group Team. If you also belong to the team, you can get access from here

CGI Group Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

CGI Group Senior Java Developer Interview Questions and Answers

Updated 27 May 2024

CGI Group Senior Java Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Nov 2023. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Oops, Thread, Spring boot and hibernate
  • Q2. JDBC vs HIBERNATE
  • Ans. 

    JDBC is a low-level API for connecting to databases in Java, while Hibernate is a high-level ORM framework that simplifies database interactions.

    • JDBC requires writing SQL queries manually, while Hibernate provides an object-oriented approach to database operations.

    • Hibernate handles mapping Java objects to database tables, while JDBC requires manual mapping.

    • Hibernate provides caching mechanisms for improved performance,...

  • Answered by AI
  • Q3. COLLECTION FRAMEWORK
Round 2 - Maneger Round 

(1 Question)

  • Q1. Project Related Questions

Skills evaluated in this interview

Senior Java Developer Jobs at CGI Group

View all

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Given an array {1, 2, 1, 4, 5, 4, 8, 7}, how can you use Streams to remove duplicates while retaining only the even numbers?
  • Ans. 

    Use Streams to remove duplicates and retain only even numbers from an array.

    • Convert the array to a stream using Arrays.stream()

    • Use distinct() to remove duplicates

    • Filter out odd numbers using filter()

    • Collect the result using collect(Collectors.toList())

  • Answered by AI
  • Q2. What is the use of Static and final when you will use Static methods
  • Ans. 

    Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.

    • Static methods belong to the class itself, not to any specific instance

    • Final keyword ensures that the method cannot be overridden in subclasses

    • Static methods are commonly used for utility methods that do not require access to instance variables

    • Example: Math class in Java has static methods like Ma

  • Answered by AI
  • Q3. What is the difference between @restController and @controller Annotation
  • Ans. 

    The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.

    • RestController is a specialized version of Controller used for RESTful web services

    • RestController eliminates the need for @ResponseBody annotation

    • Controller is used for traditional MVC controller functionality

    • RestController returns data directly without needing to go through a view resolve...

  • Answered by AI
  • Q4. What is microservices why we use it
  • Ans. 

    Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.

    • Microservices allow for easier scalability and maintenance of complex applications.

    • Each service in a microservices architecture can be developed, deployed, and scaled independently.

    • Microservices promote flexibility and agility in software development.

    • Examples of companies us...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Java Developer interview:
  • Java SpringBoot
Interview preparation tips for other job seekers - Need to have strong knowledge on basics Java Spring boot and Microservices
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Coding Test 

The first round was an interview conducted with a GENAI virtual bot.

Round 2 - One-on-one 

(2 Questions)

  • Q1. Internal architecture of Spring boot, how enable autoconfiguration works
  • Ans. 

    Spring Boot uses autoconfiguration to automatically configure the Spring application based on dependencies and properties.

    • Spring Boot autoconfiguration is achieved through @EnableAutoConfiguration annotation

    • Autoconfiguration classes are located in the org.springframework.boot.autoconfigure package

    • Autoconfiguration classes are conditionally applied based on the presence of specific classes or properties

  • Answered by AI
  • Q2. Questions mostly on microservices and coding question on restTemplate

Interview Preparation Tips

Topics to prepare for Wipro Senior Java Developer interview:
  • Java
  • Spring Boot
  • Microservices
  • REST API
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. Tell me about your self
  • Q2. How garbage collection works in java
  • Ans. 

    Garbage collection in Java is the process of automatically reclaiming memory by destroying unused objects.

    • Garbage collection is performed by the JVM to free up memory occupied by objects that are no longer needed.

    • It involves identifying and deleting objects that are no longer reachable by any part of the program.

    • Java provides automatic garbage collection, so developers do not have to manually manage memory allocation a...

  • Answered by AI
  • Q3. Difference between String s = "xyz" and String s = new String("xyz")
  • Ans. 

    The first statement creates a string literal in the string pool, while the second statement creates a new string object in the heap memory.

    • String s = "xyz" creates a string literal in the string pool.

    • String s = new String("xyz") creates a new string object in the heap memory.

    • Using String s = new String("xyz") can lead to unnecessary memory usage.

  • Answered by AI
  • Q4. Difference between JVM JRE JDK
  • Ans. 

    JVM is the virtual machine that runs Java programs, JRE is the runtime environment for Java programs, and JDK is the development kit for creating Java programs.

    • JVM (Java Virtual Machine) is the virtual machine that runs Java bytecode and converts it into machine code.

    • JRE (Java Runtime Environment) is the environment in which Java programs are executed. It includes JVM, libraries, and other necessary components.

    • JDK (Jav...

  • Answered by AI
  • Q5. What is public static void main method
  • Ans. 

    The public static void main method is the entry point of a Java program, where execution begins.

    • It must be declared as public so that it can be accessed from outside the class.

    • It must be declared as static so that it can be called without creating an instance of the class.

    • It must have a return type of void, indicating that it does not return any value.

    • It takes an array of strings (String[] args) as a parameter, which a...

  • Answered by AI
  • Q6. Difference between final finally finalize
  • Ans. 

    final is a keyword used to declare constants, finally is a block used in exception handling, and finalize is a method used for cleanup.

    • final keyword is used to declare constants that cannot be changed

    • finally block is used in exception handling to ensure a piece of code is always executed

    • finalize method is used for cleanup operations before an object is garbage collected

  • Answered by AI
  • Q7. Internal working of HashSet
  • Ans. 

    HashSet is a collection class in Java that stores unique elements using a hash table.

    • Uses hashing to store elements

    • Does not maintain insertion order

    • Allows null values

    • Implements Set interface

  • Answered by AI
  • Q8. Hierarchy of ArrayList
  • Ans. 

    ArrayList is a resizable array implementation in Java.

    • ArrayList is a class in Java that implements the List interface.

    • It allows dynamic resizing of the array, unlike regular arrays.

    • Elements can be added, removed, or accessed using index.

    • Example: ArrayList names = new ArrayList<>();

Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(4 Questions)

  • Q1. Asked program to return element in a balance array element. Solid design principle Springboot questions
  • Q2. Asked grouping by stream program
  • Q3. Spring questions
  • Q4. How to remove autoconfiguration in springboot
  • Ans. 

    To remove autoconfiguration in Spring Boot, exclude the specific autoconfiguration class from the application.

    • Exclude the autoconfiguration class using @EnableAutoConfiguration annotation with exclude attribute

    • Create a configuration class and exclude the specific autoconfiguration class using @EnableAutoConfiguration annotation

    • Use application.properties or application.yml to exclude autoconfiguration classes

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(8 Questions)

  • Q1. DESCRIBE TYPES JVM MEMORY.
  • Ans. 

    JVM memory consists of Young Generation, Old Generation, and Permanent Generation.

    • Young Generation: where new objects are allocated and aged before moving to Old Generation.

    • Old Generation: where long-lived objects are stored.

    • Permanent Generation: where metadata such as class definitions and method information are stored.

  • Answered by AI
  • Q2. DIFFERENCE BETWEEN INTERFACE AND ABSTRACT CLASS.
  • Ans. 

    Interface is a contract with no implementation, while abstract class can have some implementation.

    • Interface cannot have any method implementation, while abstract class can have some method implementations.

    • A class can implement multiple interfaces, but can only extend one abstract class.

    • Interfaces are used to achieve multiple inheritance in Java.

    • Abstract classes can have constructors, while interfaces cannot.

    • Example: In...

  • Answered by AI
  • Q3. HOW TO CREATE OUR OWN IMMUTABLE CLASS? WHY IMMUTABLE CLASS
  • Ans. 

    Immutable classes in Java are classes whose objects cannot be modified once they are created.

    • Make the class final to prevent inheritance

    • Make all fields private and final

    • Do not provide setter methods for fields

    • Ensure that any mutable objects within the class are also immutable

  • Answered by AI
  • Q4. WHAT IS DIFFERENCE BETWEEN COMPOSITION AND AGGREGATION ?
  • Ans. 

    Composition is a strong relationship where the child object cannot exist independently of the parent object, while aggregation is a weak relationship where the child object can exist independently.

    • Composition is a 'has-a' relationship, where the child object is a part of the parent object.

    • Aggregation is a 'has-a' relationship, where the child object is not a part of the parent object.

    • In composition, the child object is...

  • Answered by AI
  • Q5. DIFFERENCE BETWEEN COMPARABLE AND COMPARATOR.
  • Ans. 

    Comparable is an interface used for natural ordering of objects, while Comparator is an interface used for custom ordering of objects.

    • Comparable interface is implemented by the class whose objects are to be compared, while Comparator interface is implemented by a separate class.

    • Comparable interface has a single method compareTo() for comparing objects, while Comparator interface has a single method compare() for custom...

  • Answered by AI
  • Q6. DIFFERENCE BETWEEN HASHMAP AND CONCURRENTHASH MAP
  • Ans. 

    HashMap is not thread-safe while ConcurrentHashMap is thread-safe.

    • HashMap is not thread-safe and can lead to ConcurrentModificationException if modified during iteration.

    • ConcurrentHashMap allows concurrent read and write operations without the need for external synchronization.

    • ConcurrentHashMap achieves thread-safety by dividing the map into segments, allowing multiple threads to operate on different segments concurren...

  • Answered by AI
  • Q7. DIFFERENCE BETWEEN COLLECTION AND STREAM
  • Ans. 

    Collections store data while streams process data in a functional way.

    • Collections are used to store and manage groups of objects, while streams are used to process collections of objects.

    • Collections are mutable, meaning you can add, remove, or modify elements, while streams are immutable and do not change the original data.

    • Streams use functional programming concepts like map, filter, and reduce to process data efficien...

  • Answered by AI
  • Q8. IN WHICH SITUATION WE USE @PRIMARY AND @ QUALIFIER ?
  • Ans. 

    Use @Primary to specify a primary bean when multiple beans of the same type are present. Use @Qualifier to specify a specific bean when multiple beans of the same type are present.

    • Use @Primary to indicate the primary bean to be used when multiple beans of the same type are present in the Spring application context.

    • Use @Qualifier along with @Autowired to specify a specific bean to be injected when multiple beans of the ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Everyone should focus on core java and java 1.8.
Spring boot and microservices

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.

Round 1 - Coding Test 

1. Basic Java
2. Code Snippet
3. Microservices

I applied via Approached by Company and was interviewed in May 2022. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Java 8 Deep Drive with exercise
  • Q2. Spring, SpringBoot, Microsevices, Angular
Round 2 - Technical 

(1 Question)

  • Q1. Collection and Stream Api
Round 3 - HR 

(1 Question)

  • Q1. Salary Discussion, Behavioural Question

Interview Preparation Tips

Topics to prepare for FIS Senior Java Developer interview:
  • Java
  • Spring
  • Spring Boot
  • Microservices
  • Angularjs
Interview preparation tips for other job seekers - Interview process is smooth but MAKE SURE YOU DOUBLE CHECK THE PACKAGE YOU ASKED AT START OF THE INTERVIEW, I cleared every round at the end HR told that i can not give what you asked, WHAT THE HECK, you are fortune 500 and wasting time by making false expectations from the candidates.

About Rounds
1 technical
1 techno manager
1 HR

Never Believe in HR double check and then appear in process.

I have rejected the offer after they wasted 2 weeks

I applied via Naukri.com and was interviewed in Sep 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Basic Java and Project related and scenario based

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepared well for core java
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Jdbc connection properties
  • Q2. Putmapping, postmapping

Interview Preparation Tips

Interview preparation tips for other job seekers - they just want who knows configuration stuff, doesn't matter if you can code or not

CGI Group Interview FAQs

How many rounds are there in CGI Group Senior Java Developer interview?
CGI Group interview process usually has 2 rounds. The most common rounds in the CGI Group interview process are Technical.
How to prepare for CGI Group Senior Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at CGI Group. The most common topics and skills that interviewers at CGI Group expect are Hibernate, Agile, Java, CGI and SQL.
What are the top questions asked in CGI Group Senior Java Developer interview?

Some of the top questions asked at the CGI Group Senior Java Developer interview -

  1. JDBC vs HIBERN...read more
  2. oops, Thread, Spring boot and hibern...read more
  3. Project Related Questi...read more

Tell us how to improve this page.

CGI Group Senior Java Developer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more
CGI Group Senior Java Developer Salary
based on 19 salaries
₹7 L/yr - ₹20 L/yr
9% less than the average Senior Java Developer Salary in India
View more details

CGI Group Senior Java Developer Reviews and Ratings

based on 4 reviews

4.7/5

Rating in categories

3.9

Skill development

4.9

Work-life balance

4.6

Salary

4.7

Job security

4.9

Company culture

4.0

Promotions

4.5

Work satisfaction

Explore 4 Reviews and Ratings
Java Senior Developer

Pune

7-12 Yrs

Not Disclosed

Senior Java Developer

Chennai

6-9 Yrs

Not Disclosed

Explore more jobs
Software Engineer
8.1k salaries
unlock blur

₹2.7 L/yr - ₹12 L/yr

Senior Software Engineer
7.2k salaries
unlock blur

₹6.1 L/yr - ₹22.5 L/yr

Lead Analyst
3k salaries
unlock blur

₹9.9 L/yr - ₹30 L/yr

Associate Software Engineer
1.9k salaries
unlock blur

₹2.5 L/yr - ₹6.6 L/yr

Senior Test Engineer
1.2k salaries
unlock blur

₹6 L/yr - ₹20 L/yr

Explore more salaries
Compare CGI Group with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview