Faster and better experience!
Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2022. There was 1 interview round.
Count the occurrence of each word in a given string and store it in a map.
Split the string into words using whitespace as delimiter
Create a map to store the word count
Iterate through the words and update the count in the map
Return the map
Class not found and no class definition found exception occurs when a required class is not found during runtime.
This exception occurs when the JVM tries to load a class but cannot find it in the classpath.
It can happen if the class is missing from the project dependencies or if the classpath is not properly configured.
Check if the class is present in the correct package and if it is included in the project dependencie...
Annotations are used in Spring Boot for various purposes such as mapping requests, defining beans, and handling exceptions.
Annotations are used to provide metadata to the Spring framework.
They are used to map requests to controller methods using @RequestMapping.
Annotations like @Component, @Service, and @Repository are used to define beans.
Annotations like @ExceptionHandler and @ControllerAdvice are used for handling e...
Singleton class is a class that allows only one instance of itself to be created and provides a global point of access to it.
Singleton class restricts the instantiation of a class to a single object.
It is used when only one instance of a class is required to control actions throughout the system.
The Singleton pattern is implemented by creating a class with a method that creates a new instance of the class if one doesn'...
Java 8 introduced several new features including lambda expressions, streams, and default methods.
Lambda expressions for functional programming
Streams for efficient processing of large data sets
Default methods to add new functionality to interfaces
Date and Time API for improved handling of date and time
Nashorn JavaScript engine for improved performance
Parallel array sorting for faster sorting of large arrays
Functional interface is an interface with only one abstract method.
Functional interface can have any number of default or static methods
It is used for lambda expressions and method references
Examples include Runnable, Comparator, and Function interfaces
JVM is an environment to run Java programs, JRE is a runtime environment, and JDK is a development kit.
JVM stands for Java Virtual Machine and is responsible for executing Java bytecode.
JRE stands for Java Runtime Environment and provides a runtime environment for Java programs.
JDK stands for Java Development Kit and includes tools for developing Java applications.
JDK includes JRE and additional development tools such ...
Design patterns are reusable solutions to common software development problems.
Design patterns provide a common language for developers to communicate about solutions to common problems.
They can improve the quality, maintainability, and scalability of software.
Examples include the Singleton pattern, Factory pattern, and Observer pattern.
Design patterns can be categorized into three groups: creational, structural, and b
I applied via Instagram and was interviewed in May 2022. There were 3 interview rounds.
10 questions from aptitude, basic problems from Indiabix
Basic java programs and oops concepts
Top trending discussions
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
To become a senior Java developer and contribute to innovative projects in a collaborative team environment.
Continue learning new technologies and best practices in Java development
Work on challenging projects to enhance problem-solving skills
Collaborate with team members to share knowledge and improve code quality
I believe my strong Java skills and problem-solving abilities can positively impact the company by improving efficiency and developing innovative solutions.
I have experience in developing efficient and scalable Java applications, which can help streamline processes within the company.
I am skilled in identifying and solving complex technical issues, which can contribute to the overall success of projects.
I am proactive ...
I applied via Approached by Company and was interviewed in Dec 2023. There were 2 interview rounds.
To check if a sentence is a palindrome, compare it with its reverse form.
Remove all non-alphanumeric characters and convert the sentence to lowercase.
Reverse the sentence and compare it with the original sentence to check for palindrome.
Example: 'A man, a plan, a canal, Panama' becomes 'amanaplanacanalpanama' after removing non-alphanumeric characters and converting to lowercase.
I applied via Naukri.com and was interviewed before Oct 2022. There were 3 interview rounds.
Reverse string code and reverse array code
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Example: Class 'Car' can inherit from class 'Vehicle' and inherit properties like 'speed' and methods like 'drive()'
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit, known as a class.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for better control over the data by preventing direct modification from outside the class.
Access to the data is provided through methods, which can enforce validation rules and ensure data integrity.
Ex...
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Animal superclass with Dog and Cat subclasses. Both Dog and Cat can be treated as Animals.
Abstraction is the concept of hiding complex implementation details and showing only the necessary features to the user.
Abstraction allows developers to focus on what an object does rather than how it does it
It helps in reducing complexity and improving code readability
Example: In Java, abstract classes and interfaces are used to achieve abstraction
I applied via Recruitment Consulltant and was interviewed in Mar 2023. There were 3 interview rounds.
I applied via Company Website and was interviewed in Oct 2022. There were 4 interview rounds.
Polymorphism ,table print ,reverse
Reasoning, english synonyms,math, opposite words
Oops ,collection, thread, Servlet ,JSP, databases
Senior Software Engineer
240
salaries
| ₹5.1 L/yr - ₹15.1 L/yr |
Senior Engineer
223
salaries
| ₹6.1 L/yr - ₹15.6 L/yr |
Lead Engineer
191
salaries
| ₹8.6 L/yr - ₹24 L/yr |
Software Engineer
157
salaries
| ₹3.8 L/yr - ₹14 L/yr |
Senior QA Engineer
73
salaries
| ₹5.5 L/yr - ₹12.5 L/yr |
TCS
Infosys
Wipro
HCLTech