Filter interviews by
I applied via campus placement at Ayya Nadar Janaki Ammal College, Sivakasi and was interviewed before Apr 2022. There were 5 interview rounds.
A team will conduct Aptitude test that contains 100 basic aptitude and 100 technical aptitude questions
Group participants and conduct GD about any topic
Participants were asked to program for some logic and algorithms
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 Mar 2024. There was 1 interview round.
I applied via Company Website and was interviewed in May 2023. There were 4 interview rounds.
Encapsulation, abstraction, interface
I was interviewed in Feb 2021.
Immutable class in Java cannot be modified after creation, ensuring data integrity.
Make the class final so it cannot be extended
Make all fields private and final so they cannot be modified
Do not provide setter methods, only getter methods to access the fields
If the class contains mutable objects, make sure to return a deep copy of them in getter methods
The question is asking to create a class with certain restrictions like being final, having private and final fields, and no setter methods.
Declare the class as final to prevent it from being subclassed.
Make all fields private and final to ensure encapsulation and immutability.
Provide no setter methods to enforce read-only access to the fields.
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.
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.
No, a Java class cannot extend multiple classes.
Java does not support multiple inheritance for classes.
A class can only extend one other class, but can implement multiple interfaces.
Example: class MyClass extends ParentClass implements Interface1, Interface2
Software Engineer
41
salaries
| ₹1.6 L/yr - ₹4.8 L/yr |
Senior Software Engineer
16
salaries
| ₹3.5 L/yr - ₹8 L/yr |
Software Developer
13
salaries
| ₹3.3 L/yr - ₹4.7 L/yr |
Lead Software Engineer
13
salaries
| ₹7.2 L/yr - ₹11.4 L/yr |
Quality Analyst
9
salaries
| ₹2 L/yr - ₹5.8 L/yr |
Sequoia Capital
Nexus Venture Partners
Matrix Partners
Kalaari Capital