Filter interviews by
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 and locking only a portion of the map during write operations.
Abstractions help in simplifying complex systems by hiding unnecessary details and focusing on essential features.
Abstractions help in managing complexity by hiding implementation details and focusing on high-level concepts.
They allow developers to work at a higher level of understanding without getting bogged down in low-level details.
Abstractions promote code reusability and maintainability by encapsulating common fu...
I appeared for an interview in Feb 2025.
SQL query and Program Coding test
Top trending discussions
This interview question covers various topics including programming, design patterns, data structures, and exception handling in Java.
Write a program to generate the Fibonacci series
Write a program using boolean variables
Explain the ClassCastException and how to handle it
Discuss the Singleton design pattern and its implementation with different JDK versions
Explain abstract classes and interfaces in your current project
...
I appeared for an interview in Jun 2017.
I applied via Naukri.com and was interviewed in Aug 2018. There were 5 interview rounds.
The question is asking about the candidate's knowledge in Core Java, Spring, Hibernate, Spring Boot, SQL, and AngularJS.
Core Java is the foundation of Java programming language.
Spring is a popular framework for building Java applications.
Hibernate is an ORM tool used for mapping Java objects to database tables.
Spring Boot is a framework for building microservices.
SQL is a language used for managing relational databases...
To connect 2 DBs from a Spring Boot application, configure multiple data sources and use JdbcTemplate or EntityManager for each DB.
Configure multiple data sources in the application.properties file
Create separate configuration classes for each data source
Use JdbcTemplate or EntityManager to interact with each DB
Specify the appropriate data source in the repository or service classes
Abstract method implementation is mandatory while default method is optional.
Abstract method has no implementation in the abstract class and must be implemented by the subclass.
Default method has a default implementation in the interface and can be overridden by the implementing class.
Abstract method is used to enforce a contract while default method is used to provide a default behavior.
Example: abstract method - publ...
I applied via Campus Placement and was interviewed before Jun 2020. There were 7 interview rounds.
Java is a high-level, object-oriented programming language used to develop applications for various platforms.
Java is platform-independent and can run on any platform with a JVM.
It is used for developing web, mobile, desktop, and enterprise applications.
Java has a vast library of pre-built classes and APIs.
It supports multithreading, exception handling, and garbage collection.
Java is widely used in the industry for its...
Java is a popular, versatile, and reliable programming language used for developing a wide range of applications.
Java is platform-independent, making it easy to write code once and run it on multiple platforms.
It has a vast library of pre-built classes and APIs, making development faster and easier.
Java is highly secure and provides built-in features for encryption and authentication.
It is widely used in enterprise app...
I appeared for an interview in Jun 2017.
based on 3 interviews
Interview experience
based on 17 reviews
Rating in categories
Softwaretest Engineer
3
salaries
| ₹3 L/yr - ₹8.2 L/yr |
TCS
Accenture
Wipro
Cognizant