Premium Employer

i

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

Persistent Systems Verified Tick

Compare button icon Compare button icon Compare
3.5

based on 3.7k Reviews

Filter interviews by

Persistent Systems Java Technology Lead Interview Questions, Process, and Tips

Updated 10 Jun 2021

Persistent Systems Java Technology Lead Interview Experiences

1 interview found

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

Interview Questionnaire 

12 Questions

  • Q1. 1) How to communicate between two micro services?
  • Ans. 

    Microservices can communicate through synchronous or asynchronous protocols like REST, gRPC, or message brokers.

    • Use RESTful APIs for synchronous communication

    • Use message brokers like Kafka or RabbitMQ for asynchronous communication

    • gRPC can be used for high-performance synchronous communication

    • API Gateway can be used to manage communication between microservices

    • Consider using service mesh like Istio or Linkerd for more

  • Answered by AI
  • Q2. 2)What are SOLID principles?
  • Ans. 

    SOLID principles are a set of five design principles for writing maintainable and scalable code.

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

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

    • L - Liskov Substitution Principle: Subtypes should be substitutable for their base types.

    • I - Interface Segregation Principle: Clients should ...

  • Answered by AI
  • Q3. How do you find the second largest integer in an array without using collections or without sorting the array?
  • Ans. 

    Find second largest integer in an array without sorting or using collections.

    • Iterate through array and keep track of largest and second largest integers.

    • Compare each element with current largest and second largest integers.

    • Return second largest integer.

  • Answered by AI
  • Q4. How does a concurrent Hash Map works internally?
  • Ans. 

    Concurrent Hash Map is a thread-safe implementation of Hash Map.

    • Uses multiple segments to allow concurrent access

    • Each segment is a separate hash table with its own lock

    • Segments are dynamically added or removed based on usage

    • Uses CAS (Compare and Swap) operation for updates

    • Provides higher concurrency than synchronized Hash Map

  • Answered by AI
  • Q5. Explain Microservices design pattern?
  • Ans. 

    Microservices is a design pattern where an application is broken down into small, independent services that communicate with each other.

    • Each service is responsible for a specific task or feature

    • Services communicate with each other through APIs

    • Each service can be developed, deployed, and scaled independently

    • Allows for greater flexibility, agility, and resilience

    • Requires a strong focus on automation, monitoring, and test

  • Answered by AI
  • Q6. What does the HTTP error codes 400, 500 represent?
  • Ans. 

    HTTP error codes 400 and 500 represent client and server errors respectively.

    • HTTP error code 400 indicates a client-side error, such as a bad request or invalid input.

    • HTTP error code 500 indicates a server-side error, such as an internal server error or database connection issue.

    • Other common client-side errors include 401 (unauthorized), 403 (forbidden), and 404 (not found).

    • Other common server-side errors include 503 (

  • Answered by AI
  • Q7. Difference between PUT and POST methods?
  • Ans. 

    PUT is used to update an existing resource while POST is used to create a new resource.

    • PUT is idempotent, meaning multiple identical requests will have the same effect as a single request.

    • POST is not idempotent and can result in multiple resources being created if the request is sent multiple times.

    • PUT requires the client to send the entire updated resource while POST only requires the necessary fields to create a new ...

  • Answered by AI
  • Q8. How does PUT method behave when there is no data to update?
  • Ans. 

    PUT method updates data if available, else returns success with no changes.

    • PUT method updates the resource if it exists, else creates a new resource

    • If no data is provided, the server returns a success response with no changes made

    • Example: PUT /users/1 with empty body will return success with no changes if user with id 1 exists

  • Answered by AI
  • Q9. How do you make sure some default code executes when the Spring boot applications starts up?
  • Ans. 

    Use @PostConstruct annotation or implement CommandLineRunner interface

    • Use @PostConstruct annotation on a method that needs to be executed on startup

    • Implement CommandLineRunner interface and override run() method

    • Add the code that needs to be executed on startup in the method annotated with @PostConstruct or in the run() method

    • Example: @PostConstruct public void init() { //code to be executed on startup }

    • Example: public ...

  • Answered by AI
  • Q10. Whats the difference between @Service and @Component annotations?
  • Ans. 

    The @Service annotation is a specialization of the @Component annotation and is used to indicate that a class is a service.

    • Both @Service and @Component annotations are used to indicate that a class is a Spring-managed component.

    • @Service is a specialization of @Component and is used to indicate that a class is a service layer component.

    • The @Service annotation is used to add a layer of abstraction between the controller ...

  • Answered by AI
  • Q11. How do you define 'many-to-many' relationship in Hibernate when there are no common columns between two tables?
  • Ans. 

    Many-to-many relationship in Hibernate without common columns

    • Create a third table with foreign keys to both tables

    • Use @ManyToMany annotation in both entity classes

    • Specify the join table name and column names in @JoinTable annotation

  • Answered by AI
  • Q12. How do you define a composite Primary key?
  • Ans. 

    A composite primary key is a primary key that consists of two or more columns.

    • A composite primary key is used when a single column cannot uniquely identify a record.

    • It is created by combining two or more columns that together uniquely identify a record.

    • Each column in a composite primary key must be unique and not null.

    • Example: A table of orders may have a composite primary key consisting of order number and customer ID

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be strong in fundamentals and try to practice some example code on each topic. This gives you confidence. Confidence matters. Never give up on a question. Give it a try.

Skills evaluated in this interview

Interview questions from similar companies

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

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

Round 1 - Technical 

(3 Questions)

  • Q1. What are intermediate and terminal operations
  • Q2. Predefined functional interface
  • Q3. Ways to create Thread

Interview Preparation Tips

Interview preparation tips for other job seekers - It was moderate level of interview
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Explain architecture of your project
  • Q2. Some questions on Java, Spring Boot and sql
Round 2 - Technical 

(2 Questions)

  • Q1. Project flow and some behavioural questions
  • Q2. Project contribution of yours
  • Ans. 

    Developed a web application for tracking employee attendance and performance

    • Implemented user authentication and authorization using Spring Security

    • Utilized Hibernate for database interaction and data persistence

    • Designed and developed RESTful APIs for frontend integration

    • Used AngularJS for frontend development to create interactive user interfaces

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Basic formalities before offer release

Interview Preparation Tips

Interview preparation tips for other job seekers - Understand your project properly and have your basic of programming very clear
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

A standard online test conducted through one of the testing platforms.

Round 2 - Technical 

(4 Questions)

  • Q1. Java 8 features
  • Q2. Rest API
  • Q3. Java 8 coding problem
  • Q4. Collections
Round 3 - Technical 

(1 Question)

  • Q1. It was based on my previous project
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Comparable and comparator
  • Q2. Singleton class
  • Q3. Springboot questions were asked
  • Q4. Java class loader
  • Q5. Java 8 coding questions

Interview Preparation Tips

Topics to prepare for Coforge Senior Java Developer interview:
  • Java
  • Spring Boot
Interview preparation tips for other job seekers - Prepare well for java 8 coding questions
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Chvvvv vvbbbbb isush shjshs jdudjdj
  • Q2. Vvvhjjjc hhhjVv hsudjsj hsudjsh hdhdh

Interview Preparation Tips

Interview preparation tips for other job seekers - Vvbh
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Technical 

(2 Questions)

  • Q1. Diff between abstract class and interface
  • Ans. 

    Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

    • Abstract class can have constructor, fields, and methods, while interface cannot have any of these.

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

    • Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes...

  • Answered by AI
  • Q2. Explain about handler methods
  • Ans. 

    Handler methods in Java are methods that are responsible for handling incoming requests and generating responses.

    • Handler methods are typically defined in classes annotated with @Controller or @RestController.

    • These methods are mapped to specific URLs using @RequestMapping or other mapping annotations.

    • Handler methods can have parameters such as HttpServletRequest, HttpServletResponse, or model attributes.

    • The return value...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(4 Questions)

  • Q1. What is Executer Service?
  • Ans. 

    ExecutorService is an interface in Java that provides a way to manage and control the execution of threads in a multithreaded environment.

    • It is part of the java.util.concurrent package.

    • It provides methods to submit tasks for execution, manage thread pools, and control the execution of tasks.

    • It allows for the execution of tasks asynchronously and provides features like scheduling, cancellation, and monitoring of tasks.

    • E...

  • Answered by AI
  • Q2. What is the use of JPA?
  • Ans. 

    JPA is a Java specification for mapping Java objects to relational databases.

    • JPA stands for Java Persistence API

    • It provides a way to map Java objects to database tables and vice versa

    • JPA simplifies the development of data access layer in Java applications

    • It supports object-relational mapping (ORM) and allows developers to work with entities, relationships, and queries in a more object-oriented way

  • Answered by AI
  • Q3. Explain about PreparedStatement
  • Ans. 

    PreparedStatement is used in Java to execute parameterized SQL queries to prevent SQL injection attacks.

    • PreparedStatement is a subinterface of Statement in Java.

    • It is used to execute parameterized SQL queries.

    • It helps prevent SQL injection attacks by automatically escaping special characters.

    • Example: PreparedStatement pstmt = connection.prepareStatement("SELECT * FROM users WHERE username = ?");

  • Answered by AI
  • Q4. Program to find the missing numbers from Array
  • Ans. 

    Program to find missing numbers from Array

    • Iterate through the array and store each number in a HashSet

    • Then iterate from 1 to the length of the array and check if each number exists in the HashSet

    • If a number is not found in the HashSet, it is a missing number

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Aptitude questions and some questions from PostgreSQL.

Round 2 - Technical 

(5 Questions)

  • Q1. Java fundamental questions?
  • Q2. Collection Framework.
  • Q3. 2-3 easy to medium Coding Questions.
  • Q4. Questions from Object oriented programming in Java?
  • Q5. Implementation of HashMap , LinkedList, HashSet, Heap?
  • Ans. 

    HashMap, LinkedList, HashSet, and Heap are data structures commonly used in Java for storing and organizing data.

    • HashMap: key-value pairs, uses hashing to store and retrieve elements efficiently (e.g. HashMap)

    • LinkedList: linear data structure, elements are stored in nodes with pointers to the next node (e.g. LinkedList)

    • HashSet: collection of unique elements, uses hashing to ensure uniqueness (e.g. Hash...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for GlobalLogic Java Developer interview:
  • Java
  • oops
  • Collection Framework
Interview preparation tips for other job seekers - Interviewers were very friendly and helpful.

Skills evaluated in this interview

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

(2 Questions)

  • Q1. Comparable vs Comparator
  • Ans. 

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

    • Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be sorted.

    • Comparator interface is used to define custom ordering of objects. It is implemented by a separate class that compares objects based on specific criteria.

    • Example: Sorting a list of ...

  • Answered by AI
  • Q2. Difference between List and Set
  • Ans. 

    List allows duplicate elements and maintains insertion order, while Set does not allow duplicates and does not maintain order.

    • List can contain duplicate elements, Set cannot

    • List maintains insertion order, Set does not guarantee order

    • List is implemented by classes like ArrayList, LinkedList, Set is implemented by classes like HashSet, TreeSet

    • Example: List list = new ArrayList<>(); Set set = new HashSet<>();

Answered by AI

Skills evaluated in this interview

Persistent Systems Interview FAQs

What are the top questions asked in Persistent Systems Java Technology Lead interview?

Some of the top questions asked at the Persistent Systems Java Technology Lead interview -

  1. How do you define 'many-to-many' relationship in Hibernate when there are no co...read more
  2. How do you find the second largest integer in an array without using collection...read more
  3. How does PUT method behave when there is no data to upda...read more

Tell us how to improve this page.

People are getting interviews through

based on 1 Persistent Systems interview
Job Portal
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.
Join Persistent Systems See Beyond, Rise Above

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.1k Interviews
Infosys Interview Questions
3.7
 • 7.4k Interviews
Wipro Interview Questions
3.7
 • 5.5k Interviews
Tech Mahindra Interview Questions
3.6
 • 3.7k Interviews
HCLTech Interview Questions
3.5
 • 3.7k Interviews
LTIMindtree Interview Questions
3.9
 • 2.8k Interviews
DXC Technology Interview Questions
3.7
 • 795 Interviews
Mphasis Interview Questions
3.4
 • 781 Interviews
Nagarro Interview Questions
4.0
 • 754 Interviews
View all
Software Engineer
4.3k salaries
unlock blur

₹2.5 L/yr - ₹9.5 L/yr

Senior Software Engineer
3.7k salaries
unlock blur

₹5 L/yr - ₹13 L/yr

Lead Engineer
3k salaries
unlock blur

₹7.2 L/yr - ₹30 L/yr

Lead Software Engineer
2.9k salaries
unlock blur

₹7.3 L/yr - ₹21 L/yr

Project Lead
1.8k salaries
unlock blur

₹13.2 L/yr - ₹38.8 L/yr

Explore more salaries
Compare Persistent Systems with

Cognizant

3.8
Compare

TCS

3.7
Compare

IBM

4.1
Compare

Wipro

3.7
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