i
Infosys
Filter interviews by
I was interviewed in Aug 2024.
A daemon thread is a low priority thread that runs in the background and does not prevent the JVM from exiting when all user threads have finished.
Daemon threads are used for tasks that need to run continuously in the background, such as garbage collection.
They are automatically terminated by the JVM when all user threads have finished execution.
To create a daemon thread in Java, you can call the setDaemon(true) method
I applied via Job Portal and was interviewed in Aug 2024. There were 2 interview rounds.
Annotations in Spring Boot are used to provide metadata about the code. @SpringBootApplication is a meta-annotation that combines @Configuration, @EnableAutoConfiguration, and @ComponentScan.
Annotations in Spring Boot are used to simplify configuration and reduce boilerplate code.
@SpringBootApplication is a meta-annotation that enables the auto-configuration feature in Spring Boot.
It combines @Configuration, @EnableAut...
Infosys interview questions for designations
I applied via Referral and was interviewed in Apr 2024. There were 3 interview rounds.
Using lambda expressions in Java 8 to print a message
Use the lambda syntax (parameters) -> { body } to define the behavior
Example: () -> System.out.println("Hello, World!")
Get interview-ready with Top Infosys Interview Questions
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
Functional Interface is an interface with only one abstract method. Flat Map is used to flatten nested collections. Method Reference is a shorthand notation for lambda expressions. Stream API is used to process collections of objects.
Functional Interface is an interface with a single abstract method, such as Runnable or Comparator.
Flat Map is a method in Java that is used to flatten nested collections, like List> ...
FlatMap is a method in Java that transforms each element of a stream into a new stream and then concatenates all the streams into a single stream.
FlatMap is used to flatten nested collections or maps into a single collection.
It is commonly used in Java streams to process and transform data efficiently.
Example: List> nestedList = Arrays.asList(Arrays.asList(1, 2), Arrays.asList(3, 4)); nestedList.stream().flatMap(L
Stream API is a feature in Java that allows processing collections of objects in a functional style.
Stream API provides a way to perform operations on collections like filter, map, reduce, etc.
It supports functional programming paradigms like lambda expressions and method references.
Example: List
A functional interface is an interface that contains only one abstract method and can be used as a lambda expression.
Functional interfaces can have multiple default or static methods, but only one abstract method.
Examples of functional interfaces in Java include Runnable, Callable, and ActionListener.
Functional interfaces are often used with lambda expressions to provide a concise way of implementing single abstract me
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
To write a custom exception in Java, create a new class that extends Exception or a subclass of Exception.
Create a new class that extends Exception or a subclass of Exception.
Add a constructor to the custom exception class to pass a message to the superclass constructor.
Throw the custom exception using the 'throw' keyword in your code.
Handle the custom exception using try-catch blocks or propagate it up the call stack.
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.
To retrieve a value, the key is hashed again to find th...
I applied via Job Portal and was interviewed in Aug 2024. There was 1 interview round.
Coding test time duration was 45 mins. Question was related to string array checking the good arrray on condition of no occurrence of characters.
What people are saying about Infosys
Some of the top questions asked at the Infosys Java Developer interview for experienced candidates -
The duration of Infosys Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 25 interviews
2 Interview rounds
based on 110 reviews
Rating in categories
Technology Analyst
56k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
50.3k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39.4k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.6k
salaries
| ₹6.2 L/yr - ₹17.1 L/yr |
TCS
Wipro
Cognizant
Accenture