Filter interviews by
10 Java program given
Microservices with Kubernate deployment involves breaking down an application into smaller, independent services and deploying them using Kubernetes.
Microservices architecture involves breaking down a monolithic application into smaller, independent services that can be developed, deployed, and scaled independently.
Kubernetes is a container orchestration platform that automates the deployment, scaling, and management o...
Top trending discussions
PUT is used to update or replace 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, meaning multiple identical requests may have different effects.
PUT is used when the client knows the URI of the resource it wants to update.
POST is used when the client does not know the URI of the
Idempotent methods in REST API calls are operations that can be repeated multiple times without changing the result beyond the initial application.
GET method is idempotent as it retrieves data and does not change the state of the server
PUT and DELETE methods are also idempotent as they perform the same operation regardless of how many times they are called
POST method is not idempotent as it creates a new resource each
I applied via Naukri.com and was interviewed in Feb 2022. There was 1 interview round.
Java 8 introduced lambda expressions, streams, default methods, and more.
Lambda expressions for functional programming
Streams for efficient processing of large data sets
Default methods to add new functionality to existing interfaces
Date and Time API for improved handling of date and time
Optional class to avoid null pointer exceptions
Nashorn JavaScript engine for improved performance
Parallel array sorting for faster sor
Stream is sequential while parallel stream is concurrent
Stream is a sequence of elements that can be processed sequentially
Parallel stream is a sequence of elements that can be processed concurrently
Parallel stream can improve performance for large datasets
Parallel stream uses multiple threads to process elements in parallel
Stream is suitable for small datasets or when order of processing is important
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
API design implementation involves creating a well-structured and user-friendly interface for interacting with software applications.
Understand the requirements and use cases for the API
Design clear and consistent endpoints with proper documentation
Implement secure authentication and authorization mechanisms
Follow RESTful principles for creating APIs
Consider scalability and performance optimizations
I applied via Job Portal and was interviewed in Apr 2024. There was 1 interview round.
The == operator is used to compare references in Java, while the .equals() method is used to compare values. Method overloading is when multiple methods have the same name but different parameters.
Use == to compare references, use .equals() to compare values
Method overloading allows multiple methods with the same name but different parameters
Example: String str1 = new String("hello"); String str2 = new String("hello");...
A linked list is a data structure where each element points to the next element in the list.
Linked list is made up of nodes, each containing data and a reference to the next node.
Insertion and deletion are efficient in linked lists compared to arrays.
Example: Node 1 -> Node 2 -> Node 3 -> null
posted on 28 Apr 2024
I applied via Naukri.com and was interviewed in Mar 2024. There were 3 interview rounds.
posted on 30 Nov 2023
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
OOPs concepts are fundamental principles of object-oriented programming that help in designing and implementing software solutions.
Encapsulation: Bundling data and methods together in a class.
Inheritance: Creating new classes by inheriting properties and behaviors from existing classes.
Polymorphism: Ability of an object to take on many forms.
Abstraction: Hiding complex implementation details and providing a simplified ...
This program counts the occurrence of each letter in a given string.
Use a HashMap to store the count of each letter.
Iterate through the characters of the string and update the count in the HashMap.
Finally, print the count of each letter.
SQL query to find third highest salary from employee table.
Use the ORDER BY clause to sort the salaries in descending order
Use the LIMIT clause to limit the result to the third row
Use a subquery to exclude the highest and second highest salaries
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array has a fixed length, while ArrayList can grow dynamically.
Array can store both primitive types and objects, while ArrayList can only store objects.
Array uses square brackets [] for declaration, while ArrayList uses angle brackets <>.
Array provides direct access to elements using index, while ArrayList provides methods for...
ArrayList is a dynamic array that can grow or shrink in size. It stores objects and provides methods for adding, removing, and accessing elements.
ArrayList is part of the Java Collections Framework.
It is implemented as a resizable array.
Elements can be added using the add() method.
Elements can be accessed using the get() method.
Elements can be removed using the remove() method.
The size() method returns the number of el...
The default size of an ArrayList is 10.
The default initial capacity of an ArrayList is 10.
If the number of elements exceeds the initial capacity, the ArrayList automatically increases its size.
The capacity of an ArrayList can be increased manually using the ensureCapacity() method.
I applied via Walk-in and was interviewed in May 2023. There were 2 interview rounds.
Collection , logical
OOPs concept is a programming paradigm based on the concept of objects, Spring Boot is a framework for building Java applications.
OOPs concept stands for Object-Oriented Programming, which focuses on creating objects that interact with each other to solve problems.
It involves concepts like inheritance, encapsulation, polymorphism, and abstraction.
Spring Boot is a framework that simplifies the development of Java applic...
Controller is a class that handles user requests and returns appropriate response. Rest controller is a specialized controller for RESTful web services.
Controller is a class in MVC architecture that handles user requests and interacts with the model and view.
Rest controller is a specialized controller in Spring framework for building RESTful web services.
Rest controller uses annotations like @RestController and @Reques...
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to find the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap allows null keys and values, but only one null ...
posted on 19 Dec 2023
I applied via Approached by Company and was interviewed before Dec 2022. There were 3 interview rounds.
Theory plus coding questions
Resolved project challenges through effective problem-solving techniques.
Identified the root cause of the challenges
Collaborated with team members to brainstorm solutions
Implemented appropriate strategies to overcome obstacles
Tested and validated the implemented solutions
Documented the resolution process for future reference
Core string concepts include immutability, string manipulation, and string comparison.
Strings in Java are immutable, meaning they cannot be changed once created.
String manipulation can be done using various methods like concatenation, substring, and replace.
String comparison can be done using equals() method for content comparison and == operator for reference comparison.
based on 1 interview
Interview experience
Desktop Support Engineer
214
salaries
| ₹1.4 L/yr - ₹4.1 L/yr |
Software Developer
186
salaries
| ₹2 L/yr - ₹10 L/yr |
Software Engineer
176
salaries
| ₹3 L/yr - ₹10 L/yr |
Network Engineer
167
salaries
| ₹1 L/yr - ₹6 L/yr |
Senior Software Engineer
137
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Team Lease
Quess
Tech Mahindra
HCLTech