i
QR Solutions
Filter interviews by
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 Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
There were 5 questions and we need to solve 4 questions in java. Mostly Array and string based.
posted on 2 May 2023
I was interviewed in Apr 2023.
Verbal ability
Number series
Coding questions
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 14 Dec 2022
GET method is used to request data from a server, while POST method is used to submit data to a server in HTTPS.
GET requests data from a specified resource, while POST submits data to be processed to a specified resource.
GET requests can be cached and remain in the browser history, while POST requests are not cached and do not remain in the browser history.
GET requests have length restrictions on the amount of data tha...
GET is used to retrieve data from a server, while POST is used to send data to a server.
GET requests are used to retrieve data from a specified resource. For example, fetching a list of products from an online store.
POST requests are used to submit data to be processed by a server. For example, submitting a form with user information to create a new account.
GET requests are idempotent, meaning they can be repeated mult...
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.
Interview experience
Software Engineer
23
salaries
| ₹1.4 L/yr - ₹5.2 L/yr |
Software Developer
7
salaries
| ₹1 L/yr - ₹4 L/yr |
Junior Software Engineer
7
salaries
| ₹1.8 L/yr - ₹3.3 L/yr |
Salesforce Developer
6
salaries
| ₹1.8 L/yr - ₹4.5 L/yr |
Test Engineer
5
salaries
| ₹3.3 L/yr - ₹4 L/yr |
TCS
Infosys
Wipro
HCLTech