Filter interviews by
In Spring Boot, we use Spring Data JPA to connect to the database.
Use @EnableJpaRepositories annotation in the main application class to enable JPA repositories
Define datasource properties in application.properties or application.yml file
Use @Entity annotation to define JPA entities
Use JpaRepository interface to perform CRUD operations on entities
Component Scan is a feature in Spring framework that automatically scans and registers Spring components in the application context.
Component Scan is used to automatically detect and register Spring components like @Component, @Service, @Repository, and @Controller.
It eliminates the need for manual configuration of bean definitions in the Spring configuration file.
Component Scan can be configured with base package(s) t...
throw is used to explicitly throw an exception in a method, while throws is used in method signature to declare the exceptions that can be thrown by the method.
throw is used within a method to throw an exception, while throws is used in the method signature to declare the exceptions that can be thrown by the method
throw is followed by an exception object, while throws is followed by the exception class names separated ...
Top trending discussions
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Find the length of the longest subsequence of contiguous integers in an array.
Sort the array
Iterate through the array and check for consecutive integers
Keep track of the longest subsequence found
Use flatMap and map to extract list of pincodes from Employee objects
Use flatMap to flatten the list of Addresses in each Employee object
Use map to iterate over the flattened list and extract the pincodes
Example: employeeList.stream().flatMap(emp -> emp.getAddresses().stream()).map(address -> address.getPincode()).collect(Collectors.toList())
Database pooling is a technique used to manage a pool of database connections for efficient resource utilization. HikariCP is a popular database connection pooling library in Java.
HikariCP is a high-performance database connection pooling library for Java applications.
It is known for its low latency and high throughput.
Configurations for HikariCP include settings such as maximum pool size, connection timeout, and idle ...
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
20 aptitude,20 comunication,4 program questions
General topics . topics about online class vs office line class
Sonarqube is a static code analysis tool used to detect code smells and bugs in code. It is integrated into CI/CD pipelines for continuous code quality checks.
Sonarqube is a static code analysis tool that identifies code smells, bugs, and security vulnerabilities in code.
Code smells are common programming issues that may indicate a deeper problem in the code. Examples include duplicated code, long methods, and complex ...
Program to find numbers divisible by 3 in a string and reverse their indexes.
Iterate through the string and check if each character is a number divisible by 3.
Store the divisible numbers in an array and reverse their indexes.
Join the array back into a string and return the result.
Using Java8 to filter vowels from an array of strings
Use Java8 stream and filter to iterate through each string in the array
Use a lambda expression to check if each character is a vowel
Collect the filtered strings into a new array
I applied via Company Website and was interviewed in Mar 2024. There were 5 interview rounds.
30 multiple choice questions
Two coding questions
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Java progaming, coding
posted on 14 Jun 2023
Java basic problems , Array , Collections, String , Java 8 , Spring Boot,String MVC
Count the occurrence of each word in a sentence using Java code.
Split the sentence into an array of words using split() method.
Create a HashMap to store each word and its count.
Iterate through the array and update the count in the HashMap.
Print the word and its count at the end.
Interview experience
based on 1 review
Rating in categories
Software Engineer
1k
salaries
| ₹2.8 L/yr - ₹10.1 L/yr |
Senior Software Engineer
722
salaries
| ₹5.7 L/yr - ₹21 L/yr |
Test Engineer
360
salaries
| ₹2 L/yr - ₹9.7 L/yr |
Softwaretest Engineer
306
salaries
| ₹3 L/yr - ₹11 L/yr |
Team Lead
269
salaries
| ₹8.3 L/yr - ₹31 L/yr |
Persistent Systems
TCS
Infosys
Wipro