Filter interviews by
Good it was pretty straightforward
Two basic DSA were asked
I applied via Campus Placement and was interviewed in Oct 2022. There were 3 interview rounds.
It was a coding test of 30 minutes, and we were asked to do a basic code in java/C++. Anyone with a sane programming knowledge can easily do it.
Types of Constructors
Default constructor: No arguments, initializes object with default values
Parameterized constructor: Takes arguments and initializes object with provided values
Copy constructor: Creates a new object by copying the values of an existing object
Static constructor: Initializes static members of a class
Private constructor: Restricts the creation of objects from outside the class
No, the 'this' keyword cannot be equal to null.
The 'this' keyword refers to the current instance of a class.
It is used to access the members of the current object.
Since 'this' refers to an object, it cannot be null.
No, static and public cannot be interchanged.
Static and public are two different keywords in programming.
Static is used to define a variable or method that belongs to the class itself, rather than an instance of the class.
Public is an access modifier that allows the variable or method to be accessed from anywhere in the program.
Interchanging static and public would result in a syntax error.
For example, in Java, the fol...
Constructor overriding is not allowed in Java to maintain the integrity of the object creation process.
Constructor is used to initialize the object state, and allowing overriding can lead to unexpected behavior.
Inheritance allows the subclass to inherit the superclass constructor, but not override it.
If a subclass needs to modify the behavior of the superclass constructor, it can use constructor chaining or call a sepa...
Normalization is used to eliminate data redundancy and improve data integrity. 3NF ensures that each attribute is dependent on the primary key.
Normalization helps in organizing data in a structured manner
It eliminates data redundancy and inconsistencies
3NF ensures that each attribute is dependent on the primary key
For example, a table with columns like Order ID, Product ID, and Customer ID can be normalized to eliminat
Inheritance is a mechanism in OOP where a new class is derived from an existing class. Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in the subclass with the same name and parameters as in the superclass.
Inheritance allows for code reuse and promotes code organization.
Overloading is used to have multiple methods with the same name but different paramet...
Top trending discussions
based on 6 reviews
Rating in categories
Software Developer
54
salaries
| ₹3 L/yr - ₹8.8 L/yr |
Associate Consultant
39
salaries
| ₹3.3 L/yr - ₹10 L/yr |
Developer
29
salaries
| ₹3 L/yr - ₹9.9 L/yr |
Consultant
18
salaries
| ₹5 L/yr - ₹10 L/yr |
SAP Abap Developer
16
salaries
| ₹3.3 L/yr - ₹8 L/yr |
TCS
Infosys
Wipro
HCLTech