Filter interviews by
I applied via Referral and was interviewed in Sep 2022. There were 2 interview rounds.
A class is a blueprint for creating objects in Java. Java uses references instead of pointers.
A class is a user-defined data type that encapsulates data and methods
Java uses the 'new' keyword to create objects from a class
References in Java point to objects in memory, but Java does not have direct access to memory addresses like pointers in C/C++
Inheritance is a mechanism in Java OOPs where a new class is derived from an existing class.
Inheritance allows the new class to inherit the properties and methods of the existing class.
The existing class is called the superclass or parent class, while the new class is called the subclass or child class.
The subclass can add new properties and methods, or override the existing ones.
The keyword 'extends' is used to create...
Program to reverse a string in Java
Create a StringBuilder object with the given string
Use the reverse() method of StringBuilder to reverse the string
Convert the StringBuilder object back to string using toString() method
Top trending discussions
I applied via LinkedIn and was interviewed before Nov 2023. There was 1 interview round.
Project Engineer
291
salaries
| ₹2.5 L/yr - ₹8.4 L/yr |
Senior Software Engineer
222
salaries
| ₹5.6 L/yr - ₹24 L/yr |
Senior Associate
194
salaries
| ₹1.4 L/yr - ₹5.7 L/yr |
Technical Lead
163
salaries
| ₹9.5 L/yr - ₹30 L/yr |
Senior Project Engineer
157
salaries
| ₹5 L/yr - ₹16 L/yr |
Tata Group
Reliance Industries
Aditya Birla Group
Mahindra & Mahindra