Filter interviews by
Basic java which is like error or output
Pyramid like printing star or number
I applied via Recruitment Consulltant and was interviewed in Mar 2023. There were 5 interview rounds.
Java , array, simple java program
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.
I applied via Approached by Company and was interviewed in Mar 2023. There were 3 interview rounds.
Java is a high-level programming language known for its portability, security, and object-oriented features.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM).
It is object-oriented, allowing for modular and reusable code.
Java is known for its security features, such as sandboxing and encryption.
Popular frameworks and libraries like Spring and Hibernate are commonly used in
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
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.
Interview experience
based on 1 review
Rating in categories
SAP Abap Consultant
60
salaries
| ₹2 L/yr - ₹5 L/yr |
Java Developer
12
salaries
| ₹2.5 L/yr - ₹4.2 L/yr |
SAP Abap Technical Consultant
11
salaries
| ₹3 L/yr - ₹4.5 L/yr |
Software Developer
9
salaries
| ₹1.5 L/yr - ₹5.6 L/yr |
Hybris Developer
8
salaries
| ₹3.5 L/yr - ₹9.1 L/yr |
Infosys
TCS
Wipro
HCLTech