Upload Button Icon Add office photos

Filter interviews by

KriRit India Senior Java Developer Interview Questions and Answers

Updated 23 Sep 2021

KriRit India Senior Java Developer Interview Experiences

1 interview found

I applied via Referral and was interviewed before Sep 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Data Structure, Spring Boot, Microservices, JAP, Hibernate

Interview Preparation Tips

Interview preparation tips for other job seekers - We have to work on code in deeply.

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
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Technical 

(4 Questions)

  • Q1. Project related questions, architecture, exception handling, Kafka use case.
  • Q2. Oops question functional interface, marker interface.
  • Q3. Memory leaks and how to avoid the same.
  • Ans. 

    Memory leaks occur when a program allocates memory but does not release it, leading to inefficient memory usage.

    • Use tools like profilers to identify memory leaks in Java applications.

    • Avoid creating unnecessary objects and ensure proper garbage collection.

    • Avoid static references to objects that can prevent them from being garbage collected.

    • Close resources like files, database connections, and streams after use to preven

  • Answered by AI
  • Q4. Multi threading question
Round 2 - Technical 

(3 Questions)

  • Q1. Pom related questions how many scope available.
  • Q2. Agile related questions
  • Q3. Comparable vs comparator
  • Ans. 

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

    • Comparable is implemented by the class itself to define the natural ordering of objects.

    • Comparator is implemented by a separate class to define custom ordering of objects.

    • Example: String class implements Comparable interface for natural ordering, while Collections class uses Comparator for custom sorting.

  • Answered by AI

Skills evaluated in this interview

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
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(1 Question)

  • Q1. Basic question related to Java and spring boot
Round 2 - Technical 

(1 Question)

  • Q1. Current Project role and responsibilites.
  • Ans. 

    Leading a team of developers in designing and implementing a new web application for a financial services company.

    • Managing a team of developers to ensure project milestones are met

    • Designing the architecture of the web application

    • Implementing new features and functionalities based on client requirements

    • Conducting code reviews and providing technical guidance to team members

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in Sep 2024. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Flow of micro services, annotations of boot
  • Q2. Sorting program
Round 2 - Technical 

(2 Questions)

  • Q1. Project flow,team management
  • Q2. Collection questions
Round 3 - HR 

(2 Questions)

  • Q1. Normal hr questions,about changing jobs and etc.
  • Q2. Salary negotiation
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Job Fair and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Questions on Spring AOP
  • Q2. How do Microservies talk to eachother
  • Ans. 

    Microservices communicate with each other through APIs and messaging protocols.

    • Microservices communicate via RESTful APIs, using HTTP requests and responses.

    • Message brokers like Kafka or RabbitMQ are used for asynchronous communication between microservices.

    • Service discovery tools like Eureka or Consul help microservices locate and communicate with each other.

    • Microservices can also communicate through gRPC, a high-perf

  • Answered by AI
  • Q3. Logging framework used in current project
  • Ans. 

    We are using Log4j2 for logging in the current project.

    • Log4j2 is a popular logging framework in Java.

    • It provides support for logging at different levels like DEBUG, INFO, WARN, ERROR, etc.

    • Configuration can be done through XML, JSON, or properties file.

    • Example: org.apache.logging.log4j log4j-api 2.14.1

  • Answered by AI

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. Write a program on java8 ?
  • Ans. 

    Program using Java 8 features to filter a list of strings starting with 'A' and convert them to uppercase.

    • Use Java 8 stream API to filter the strings starting with 'A'.

    • Use map() function to convert the filtered strings to uppercase.

    • Collect the results into a new list using collect() function.

  • Answered by AI
  • Q2. How connect two dbs in spring boot?
  • Ans. 

    To connect two databases in Spring Boot, you can configure multiple data sources and use JPA to interact with them.

    • Configure multiple data sources in application.properties or application.yml file

    • Define multiple DataSource beans in your configuration class

    • Use @Primary annotation to specify the primary data source

    • Use @Qualifier annotation to specify which data source to use in a specific repository or service

    • Use @Transa...

  • Answered by AI
  • Q3. Index in MySQL?
  • Ans. 

    An index in MySQL is a data structure that improves the speed of data retrieval operations on a database table.

    • Indexes are used to quickly locate rows in a table without having to search every row.

    • They can be created on one or more columns in a table.

    • Indexes can be unique, which means that the indexed columns must contain unique values.

    • Examples of indexes include primary keys, unique keys, and regular indexes.

  • Answered by AI
  • Q4. Difference between post & get mapping in spring boot and can we update the data using post mapping?
  • Ans. 

    Post mapping is used to create or update data, while get mapping is used to retrieve data. Yes, data can be updated using post mapping.

    • Post mapping is used to create or update data in the server, while get mapping is used to retrieve data from the server.

    • Post mapping is typically used for operations that modify data, such as creating a new resource or updating an existing one.

    • Get mapping is used for operations that do ...

  • Answered by AI
  • Q5. Microservices design patterns?
  • Ans. 

    Design patterns in microservices architecture help in solving common problems and improving scalability, maintainability, and flexibility.

    • Service Registry pattern - used for service discovery and registration, such as Netflix Eureka

    • Circuit Breaker pattern - prevents cascading failures by failing fast and providing fallback mechanisms, like Hystrix

    • API Gateway pattern - acts as a single entry point for clients to access ...

  • Answered by AI
  • Q6. Explain about SOLID principles in java?
  • Ans. 

    SOLID principles are a set of five design principles in object-oriented programming to make software designs more understandable, flexible, and maintainable.

    • S - Single Responsibility Principle: A class should have only one reason to change.

    • O - Open/Closed Principle: Classes should be open for extension but closed for modification.

    • L - Liskov Substitution Principle: Objects of a superclass should be replaceable with obje...

  • Answered by AI
  • Q7. What are the advantages of spring boot over spring?
  • Ans. 

    Spring Boot simplifies the development of Spring applications by providing out-of-the-box configurations and reducing boilerplate code.

    • Spring Boot provides a quick and easy way to set up a Spring application with minimal configuration.

    • It includes embedded servers like Tomcat, Jetty, or Undertow, eliminating the need for deploying WAR files.

    • Auto-configuration feature in Spring Boot automatically configures the applicati...

  • Answered by AI
  • Q8. Give one API task and need to sort the employee or users data based on the interviewer requirement?

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What is final and finally
  • Ans. 

    final is a keyword in Java used to declare constants, while finally is a block used in exception handling to ensure code is executed regardless of an exception.

    • final keyword is used to declare constants in Java

    • final variables cannot be reassigned once initialized

    • finally block is used in exception handling to ensure code is executed regardless of an exception

    • finally block is often used to release resources like closing

  • Answered by AI
  • Q2. Brief description about the last project
  • Ans. 

    Developed a web application for a financial institution to manage customer accounts and transactions.

    • Used Java Spring framework for backend development

    • Implemented RESTful APIs for communication between frontend and backend

    • Utilized Hibernate for database interaction

    • Integrated third-party payment gateway for transactions

  • Answered by AI

Skills evaluated in this interview

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

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

Round 1 - One-on-one 

(3 Questions)

  • Q1. Basic java questions
  • Q2. Java 8 questions
  • Q3. Microservices and patterns

Interview Preparation Tips

Interview preparation tips for other job seekers - Java8, microservices, stream problems

Tell us how to improve this page.

People are getting interviews through

based on 1 KriRit India interview
Referral
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.
Delivery and Operations Manager
4 salaries
unlock blur

₹6 L/yr - ₹9 L/yr

Explore more salaries
Compare KriRit India with

TCS

3.7
Compare

Accenture

3.9
Compare

Wipro

3.7
Compare

Cognizant

3.8
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview