Filter interviews by
I applied via LinkedIn and was interviewed in Mar 2022. There were 3 interview rounds.
Reverse a given string
Iterate through the string from end to start and append each character to a new string
Use StringBuilder or StringBuffer for better performance
Convert the string to a character array and swap the first and last characters, then move towards the middle until the entire string is reversed
Program to find duplicate alphabets in a string
Create a HashMap to store the frequency of each alphabet
Iterate through the string and update the frequency in the HashMap
Iterate through the HashMap and print the alphabets with frequency greater than 1
A Java program to find vowels from a given string.
Create a string variable and initialize it with the given string.
Use a for loop to iterate through each character of the string.
Check if the character is a vowel using if statement and add it to a new string variable.
Print the new string variable containing all the vowels.
Abstract classes are incomplete classes that cannot be instantiated. Anonymous classes are unnamed classes that can be created on the fly.
Abstract classes are declared with the 'abstract' keyword and can have abstract and non-abstract methods.
Anonymous classes are created using the 'new' keyword and can extend a class or implement an interface.
Anonymous classes are often used for event handling and callbacks.
Example of...
Inheritance in Java allows a class to inherit properties and methods from another class.
Use the 'extends' keyword to create a subclass that inherits from a superclass
The subclass can access all public and protected members of the superclass
Example: class Dog extends Animal { ... }
The 'super' keyword is used to call the superclass constructor or method
Controller in Spring is responsible for handling user requests and returning appropriate responses.
Controller receives requests from the client and delegates them to appropriate handlers
It maps the incoming requests to the corresponding handler methods
It returns the response to the client after processing the request
It can also handle exceptions and errors that occur during request processing
To configure server port in a Spring Boot app, modify the application.properties file.
Open the application.properties file
Add the following line: server.port=8080 (or any desired port number)
Save the file and restart the application
Find the lowest number from an arraylist using streams
Use stream.min() method to find the lowest number
Pass Comparator.naturalOrder() to get the lowest number
Handle empty list scenario using OptionalInt
Developed a web-based inventory management system for a retail store
Used Java, Spring framework, and MySQL for backend development
Implemented user authentication and authorization using Spring Security
Designed the frontend using HTML, CSS, and JavaScript
Integrated barcode scanner for efficient inventory management
Conducted unit testing using JUnit and integration testing using Selenium
Deployed the application on AWS EC
Refresh scope is used in Spring framework to control the lifecycle of beans.
Refresh scope is used to create a new instance of a bean every time it is requested.
It is useful when the state of a bean needs to be reset on every request.
To use refresh scope, add @RefreshScope annotation to the bean definition.
Example: @Bean @RefreshScope public MyBean myBean() { return new MyBean(); }
Top trending discussions
I applied via Naukri.com and was interviewed in Jan 2024. There were 3 interview rounds.
posted on 3 Jul 2023
I applied via Company Website and was interviewed in Jun 2023. There were 5 interview rounds.
Logical aptitude.
Spatial aptitude.
Organisational aptitude.
Physical aptitude.
Why they chose your company.
How your product solved the problem clients faced.
The measurable results of the service provided.
Group discussion means one of the news project will be comes we're discussing about that project it's is group discussion
I applied via Recruitment Consulltant and was interviewed in Apr 2022. There was 1 interview round.
Answering questions related to OOPs concepts, Java8 features, functional interface, Spring Boot annotations, and microservices.
OOPs concepts include encapsulation, inheritance, abstraction, and polymorphism.
Java8 features include lambda expressions, streams, default methods, and functional interfaces.
Functional interface is an interface with only one abstract method and can be used with lambda expressions.
Spring Boot a...
I applied via Walk-in and was interviewed in Sep 2021. There were 4 interview rounds.
Post method is used to send data to a server while Get method is used to retrieve data from a server.
Post method is used to submit data to a server for processing.
Get method is used to retrieve data from a server.
Post method is more secure than Get method as it does not expose data in the URL.
Get method has a limit on the amount of data that can be sent while Post method does not have any such limit.
Examples of Post me...
I applied via Walk-in and was interviewed in Jul 2021. There were 3 interview rounds.
To call REST APIs, use HTTP methods like GET, POST, PUT, DELETE with the API endpoint URL.
Use a HTTP client library like Apache HttpClient or OkHttp
Pass any required parameters in the request body or as query parameters
Handle the response returned by the API
Add appropriate headers like Authorization or Content-Type if required
Software Engineer
59
salaries
| ₹2.8 L/yr - ₹8.5 L/yr |
Softwaretest Engineer
25
salaries
| ₹2.6 L/yr - ₹5.5 L/yr |
Technical Support Engineer
11
salaries
| ₹3.6 L/yr - ₹9.2 L/yr |
Software Developer
10
salaries
| ₹2.5 L/yr - ₹5.7 L/yr |
Android Developer
9
salaries
| ₹4.4 L/yr - ₹7 L/yr |
TCS
Infosys
Wipro
HCLTech