i
Han River Technology
Filter interviews by
I applied via Indeed and was interviewed before Mar 2023. There were 2 interview rounds.
I applied via AmbitionBox and was interviewed in Sep 2023. There were 7 interview rounds.
Explain about one topic
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
I was interviewed in Feb 2021.
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 Naukri.com and was interviewed in Jan 2023. There were 3 interview rounds.
First I will give the altitude test
My coding knowledge is good and my coding speed is fast
readonly variables can be assigned a value either at the time of declaration or in the constructor, while const variables must be assigned a value at the time of declaration and cannot be changed.
readonly variables can be assigned a value at runtime, while const variables must be assigned a value at compile time
readonly variables can be assigned a value in the constructor, while const variables cannot
const variables ar...
const is compile-time constant, while readonly is runtime constant.
const values are determined at compile time and cannot be changed during runtime
readonly values can be assigned a value either at the declaration or in the constructor and can be changed at runtime
const is used for values that are known at compile time, like mathematical constants
readonly is used when the value needs to be initialized at runtime, like d
I applied via Company Website and was interviewed in Apr 2022. There were 3 interview rounds.
Logical Reasoning, Verbal ability
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.
based on 1 review
Rating in categories
QA Engineer
15
salaries
| ₹1.8 L/yr - ₹4.6 L/yr |
Associate
15
salaries
| ₹4 L/yr - ₹6 L/yr |
Software Developer
12
salaries
| ₹2.2 L/yr - ₹6 L/yr |
Project Coordinator
8
salaries
| ₹3 L/yr - ₹4.3 L/yr |
Front end Developer
8
salaries
| ₹3.4 L/yr - ₹9 L/yr |
Huawei Technologies
Data Entry
ABCI Infrastructures
Cogoport