Filter interviews by
I applied via Walk-in and was interviewed in Nov 2022. There were 3 interview rounds.
When I visit in the company office they first say to download the company app in which they have taken my aptitude test.
Answers to common Java interview questions on super keyword, inheritance, and abstract classes.
The super keyword is used to call a method or constructor in the parent class.
Inheritance is a mechanism in which one class acquires the properties and methods of another class.
Abstract classes are classes that cannot be instantiated and are used as a base for other classes to inherit from.
Abstract methods are methods that do...
Top trending discussions
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
In Java, == compares memory addresses while .equals() compares the actual content of objects.
== is used to compare memory addresses of objects, while .equals() is used to compare the actual content of objects.
== is used for primitive data types comparison, while .equals() is used for object comparison.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will return false, but str1
The difference between == and equals() in Java for comparing object references and values.
Use == to compare object references (memory location)
Use equals() to compare object values
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will be false, but str1.equals(str2) will be true
posted on 8 Aug 2024
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
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.
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
based on 1 review
Rating in categories
Software Developer
39
salaries
| ₹1.9 L/yr - ₹4.5 L/yr |
Software Programmer
17
salaries
| ₹3 L/yr - ₹4 L/yr |
IT Security Analyst
11
salaries
| ₹1.9 L/yr - ₹5 L/yr |
Senior Software Programmer
8
salaries
| ₹4.9 L/yr - ₹9.1 L/yr |
Team Lead
7
salaries
| ₹6.9 L/yr - ₹10 L/yr |
Ola Cabs
Swiggy
Paytm
Flipkart