i
Grid Dynamics
Filter interviews by
Functional interface and lambda expression to add two numbers in Java
Create a functional interface with a method that takes two integers as parameters and returns an integer
Implement the functional interface using a lambda expression to add the two numbers
Call the method using the lambda expression to add two numbers
The @Peek annotation is used in Java to mark a method as a peek operation in a stream. The @Qualifier annotation is used in Spring to specify which bean should be autowired when multiple beans of the same type are present.
The @Peek annotation is used in Java streams to perform a side-effect operation on each element without changing the elements themselves.
The @Qualifier annotation in Spring is used to disambiguate bea...
Top trending discussions
In Java, == compares memory addresses while .equals() compares the actual content of objects.
== compares memory addresses of objects, while .equals() compares the actual content.
== is used to compare primitive data types, while .equals() is used to compare objects.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true.
The question explains the difference between == and .equals() in Java for comparing object references and content.
Use == to compare object references (memory location)
Use .equals() to compare the actual content or values of the objects
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true
I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.
Questions on string and arrays both are moderate level questions on hacherrank type for 20 marks
I applied via campus placement at National Institute of Technology (NIT), Warangal and was interviewed in Jul 2022. There were 3 interview rounds.
Their are 30 questions which one has to done in 30 mins
posted on 31 May 2022
I applied via Naukri.com and was interviewed before May 2021. There were 3 interview rounds.
Easy
The static keyword in Java is used to create class-level variables and methods that can be accessed without creating an instance of the class.
Static variables are shared among all instances of a class.
Static methods can be called without creating an instance of the class.
Static blocks are used to initialize static variables.
Static keyword can also be used to create static nested classes.
posted on 8 Aug 2024
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
In Java, == compares memory addresses while .equals() compares the actual content of objects.
== compares memory addresses of objects, while .equals() compares the actual content of objects.
== is used to compare primitive data types, while .equals() is used to compare objects.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true.
In Java, == compares object references, while .equals() compares object values.
Use == to compare if two object references point to the same memory location.
Use .equals() to compare if two objects have the same values.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true.
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
Q.1 Pattern
1
*2*
**3**
Q. 2
write code to get sub array with max sum from given array.
based on 1 review
Rating in categories
Software Engineer
55
salaries
| ₹11.3 L/yr - ₹28 L/yr |
Senior Software Engineer
49
salaries
| ₹19.2 L/yr - ₹35 L/yr |
Associate Software Engineer
20
salaries
| ₹4 L/yr - ₹5 L/yr |
Devops Engineer
11
salaries
| ₹7.8 L/yr - ₹22 L/yr |
Big Data Engineer
9
salaries
| ₹10.6 L/yr - ₹13.6 L/yr |
EPAM Systems
Luxoft
Persistent Systems
TCS